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.Params
Nested 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 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()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
void
writeTo(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:Writeable
Write 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:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-