|
|
@@ -26,7 +26,6 @@ import org.elasticsearch.common.Nullable;
|
|
|
import org.elasticsearch.common.io.stream.StreamInput;
|
|
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
|
|
import org.elasticsearch.common.io.stream.Streamable;
|
|
|
-import org.elasticsearch.common.xcontent.ToXContent.Params;
|
|
|
import org.elasticsearch.common.xcontent.ToXContentFragment;
|
|
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
|
|
import org.elasticsearch.index.Index;
|
|
|
@@ -43,6 +42,8 @@ import org.elasticsearch.index.search.stats.SearchStats;
|
|
|
import org.elasticsearch.index.shard.DocsStats;
|
|
|
import org.elasticsearch.index.shard.IndexingStats;
|
|
|
import org.elasticsearch.index.store.StoreStats;
|
|
|
+import org.elasticsearch.index.translog.TranslogStats;
|
|
|
+import org.elasticsearch.index.warmer.WarmerStats;
|
|
|
import org.elasticsearch.search.suggest.completion.CompletionStats;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
@@ -117,6 +118,11 @@ public class NodeIndicesStats implements Streamable, ToXContentFragment {
|
|
|
return stats.getFlush();
|
|
|
}
|
|
|
|
|
|
+ @Nullable
|
|
|
+ public WarmerStats getWarmer() {
|
|
|
+ return stats.getWarmer();
|
|
|
+ }
|
|
|
+
|
|
|
@Nullable
|
|
|
public FieldDataStats getFieldData() {
|
|
|
return stats.getFieldData();
|
|
|
@@ -142,6 +148,11 @@ public class NodeIndicesStats implements Streamable, ToXContentFragment {
|
|
|
return stats.getSegments();
|
|
|
}
|
|
|
|
|
|
+ @Nullable
|
|
|
+ public TranslogStats getTranslog() {
|
|
|
+ return stats.getTranslog();
|
|
|
+ }
|
|
|
+
|
|
|
@Nullable
|
|
|
public RecoveryStats getRecoveryStats() {
|
|
|
return stats.getRecoveryStats();
|