Class CommonStats
java.lang.Object
org.elasticsearch.action.admin.indices.stats.CommonStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
public class CommonStats extends java.lang.Object implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
-
Constructor Summary
Constructors Constructor Description CommonStats()CommonStats(CommonStatsFlags flags)CommonStats(StreamInput in)CommonStats(IndicesQueryCache indicesQueryCache, IndexShard indexShard, CommonStatsFlags flags) -
Method Summary
Modifier and Type Method Description voidadd(CommonStats stats)CompletionStatsgetCompletion()DocsStatsgetDocs()FieldDataStatsgetFieldData()FlushStatsgetFlush()GetStatsgetGet()IndexingStatsgetIndexing()MergeStatsgetMerge()QueryCacheStatsgetQueryCache()RecoveryStatsgetRecoveryStats()RefreshStatsgetRefresh()RequestCacheStatsgetRequestCache()SearchStatsgetSearch()SegmentsStatsgetSegments()StoreStatsgetStore()ByteSizeValuegetTotalMemory()Utility method which computes total memory by adding FieldData, PercolatorCache, Segments (memory, index writer, version map)TranslogStatsgetTranslog()WarmerStatsgetWarmer()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Field Details
-
Constructor Details
-
CommonStats
public CommonStats() -
CommonStats
-
CommonStats
public CommonStats(IndicesQueryCache indicesQueryCache, IndexShard indexShard, CommonStatsFlags flags) -
CommonStats
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
add
-
getDocs
-
getStore
-
getIndexing
-
getGet
-
getSearch
-
getMerge
-
getRefresh
-
getFlush
-
getWarmer
-
getQueryCache
-
getFieldData
-
getCompletion
-
getSegments
-
getTranslog
-
getRequestCache
-
getRecoveryStats
-
getTotalMemory
Utility method which computes total memory by adding FieldData, PercolatorCache, Segments (memory, index writer, version map) -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-