public class CommonStats extends java.lang.Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
CommonStats() |
CommonStats(CommonStatsFlags flags) |
CommonStats(IndicesQueryCache indicesQueryCache,
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() |
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() |
static CommonStats |
readCommonStats(StreamInput in) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
@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 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 static CommonStats readCommonStats(StreamInput in) throws java.io.IOException
java.io.IOException
public ByteSizeValue getTotalMemory()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException