Module org.elasticsearch.xcore
Class NodeDataTiersUsage
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.xpack.core.datatiers.NodeDataTiersUsage
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
Data tier usage statistics on a specific node. The statistics groups the indices, shard sizes, shard counts based
on their tier preference.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionNodeDataTiersUsage(DiscoveryNode node, Map<String, NodeDataTiersUsage.UsageStats> usageStatsByTier) -
Method Summary
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodeResponse
getNodeMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
NodeDataTiersUsage
- Throws:
IOException
-
NodeDataTiersUsage
public NodeDataTiersUsage(DiscoveryNode node, Map<String, NodeDataTiersUsage.UsageStats> usageStatsByTier)
-
-
Method Details
-
getUsageStatsByTier
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodeResponse- Throws:
IOException
-