public class CommonStats extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
CommonStats() |
CommonStats(CommonStatsFlags flags) |
CommonStats(IndicesQueryCache indicesQueryCache,
IndexShard indexShard,
CommonStatsFlags flags) |
CommonStats(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
void |
add(CommonStats stats) |
CompletionStats |
getCompletion() |
DocsStats |
getDocs() |
FieldDataStats |
getFieldData() |
FlushStats |
getFlush() |
GetStats |
getGet() |
IndexingStats |
getIndexing() |
MergeStats |
getMerge() |
QueryCacheStats |
getQueryCache() |
RecoveryStats |
getRecoveryStats() |
RefreshStats |
getRefresh() |
RequestCacheStats |
getRequestCache() |
SearchStats |
getSearch() |
SegmentsStats |
getSegments() |
StoreStats |
getStore() |
ByteSizeValue |
getTotalMemory()
Utility method which computes total memory by adding
FieldData, PercolatorCache, Segments (memory, index writer, version map)
|
TranslogStats |
getTranslog() |
WarmerStats |
getWarmer() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
@Nullable public StoreStats store
@Nullable public IndexingStats indexing
@Nullable public SearchStats search
@Nullable public MergeStats merge
@Nullable public RefreshStats refresh
@Nullable public FlushStats flush
@Nullable public WarmerStats warmer
@Nullable public QueryCacheStats queryCache
@Nullable public FieldDataStats fieldData
@Nullable public CompletionStats completion
@Nullable public SegmentsStats segments
@Nullable public TranslogStats translog
@Nullable public RequestCacheStats requestCache
@Nullable public RecoveryStats recoveryStats
public CommonStats()
public CommonStats(CommonStatsFlags flags)
public CommonStats(IndicesQueryCache indicesQueryCache, IndexShard indexShard, CommonStatsFlags flags)
public CommonStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public void add(CommonStats stats)
@Nullable public StoreStats getStore()
@Nullable public IndexingStats getIndexing()
@Nullable public SearchStats getSearch()
@Nullable public MergeStats getMerge()
@Nullable public RefreshStats getRefresh()
@Nullable public FlushStats getFlush()
@Nullable public WarmerStats getWarmer()
@Nullable public QueryCacheStats getQueryCache()
@Nullable public FieldDataStats getFieldData()
@Nullable public CompletionStats getCompletion()
@Nullable public SegmentsStats getSegments()
@Nullable public TranslogStats getTranslog()
@Nullable public RequestCacheStats getRequestCache()
@Nullable public RecoveryStats getRecoveryStats()
public ByteSizeValue getTotalMemory()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException