Module org.elasticsearch.server
Class CommonStats
java.lang.Object
org.elasticsearch.action.admin.indices.stats.CommonStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CommonStats stats) booleangetBulk()getDocs()getFlush()getGet()getMerge()static CommonStatsgetShardLevelStats(IndicesQueryCache indicesQueryCache, IndexShard indexShard, CommonStatsFlags flags) Filters the given flags forCommonStatsFlags.SHARD_LEVELflags and calculates the corresponding statistics.getStore()Utility method which computes total memory by adding FieldData, PercolatorCache, Segments (index writer, version map)inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
docs
-
store
-
indexing
-
get
-
search
-
merge
-
refresh
-
flush
-
warmer
-
queryCache
-
fieldData
-
completion
-
segments
-
translog
-
requestCache
-
recoveryStats
-
bulk
-
shards
-
nodeMappings
-
denseVectorStats
-
sparseVectorStats
-
-
Constructor Details
-
CommonStats
public CommonStats() -
CommonStats
-
CommonStats
- Throws:
IOException
-
-
Method Details
-
getShardLevelStats
public static CommonStats getShardLevelStats(IndicesQueryCache indicesQueryCache, IndexShard indexShard, CommonStatsFlags flags) Filters the given flags forCommonStatsFlags.SHARD_LEVELflags and calculates the corresponding statistics. -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
add
-
getDocs
-
getStore
-
getIndexing
-
getGet
-
getSearch
-
getMerge
-
getRefresh
-
getFlush
-
getWarmer
-
getQueryCache
-
getFieldData
-
getCompletion
-
getSegments
-
getTranslog
-
getRequestCache
-
getRecoveryStats
-
getBulk
-
getShards
-
getNodeMappings
-
getDenseVectorStats
-
getSparseVectorStats
-
getTotalMemory
Utility method which computes total memory by adding FieldData, PercolatorCache, Segments (index writer, version map) -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-