public class CommonStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
CommonStats() |
CommonStats(CommonStatsFlags flags) |
CommonStats(IndexShard indexShard,
CommonStatsFlags flags) |
Modifier and Type | Method and Description |
---|---|
void |
add(CommonStats stats) |
CompletionStats |
getCompletion() |
DocsStats |
getDocs() |
FieldDataStats |
getFieldData() |
FlushStats |
getFlush() |
GetStats |
getGet() |
IndexingStats |
getIndexing() |
MergeStats |
getMerge() |
PercolateStats |
getPercolate() |
QueryCacheStats |
getQueryCache() |
RecoveryStats |
getRecoveryStats() |
RefreshStats |
getRefresh() |
RequestCacheStats |
getRequestCache() |
SearchStats |
getSearch() |
SegmentsStats |
getSegments() |
StoreStats |
getStore() |
SuggestStats |
getSuggest() |
ByteSizeValue |
getTotalMemory()
Utility method which computes total memory by adding
FieldData, Percolate, Segments (memory, index writer, version map)
|
TranslogStats |
getTranslog() |
WarmerStats |
getWarmer() |
static CommonStats |
readCommonStats(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
@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 PercolateStats percolate
@Nullable public CompletionStats completion
@Nullable public SegmentsStats segments
@Nullable public TranslogStats translog
@Nullable public SuggestStats suggest
@Nullable public RequestCacheStats requestCache
@Nullable public RecoveryStats recoveryStats
public CommonStats()
public CommonStats(CommonStatsFlags flags)
public CommonStats(IndexShard indexShard, CommonStatsFlags flags)
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 PercolateStats getPercolate()
@Nullable public CompletionStats getCompletion()
@Nullable public SegmentsStats getSegments()
@Nullable public TranslogStats getTranslog()
@Nullable public SuggestStats getSuggest()
@Nullable public RequestCacheStats getRequestCache()
@Nullable public RecoveryStats getRecoveryStats()
public static CommonStats readCommonStats(StreamInput in) throws IOException
IOException
public ByteSizeValue getTotalMemory()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.