Module org.elasticsearch.server
Class RemoteClusterStatsResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.admin.cluster.stats.RemoteClusterStatsResponse
- All Implemented Interfaces:
Writeable,RefCounted
Trimmed down cluster stats response for reporting to a remote cluster.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested 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
ConstructorsConstructorDescriptionRemoteClusterStatsResponse(String clusterUUID, ClusterHealthStatus status, Set<String> versions, long nodesCount, long shardsCount, long indicesCount, long indicesBytes, long heapBytes, long memBytes) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglongvoidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, 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
-
RemoteClusterStatsResponse
public RemoteClusterStatsResponse(String clusterUUID, ClusterHealthStatus status, Set<String> versions, long nodesCount, long shardsCount, long indicesCount, long indicesBytes, long heapBytes, long memBytes) -
RemoteClusterStatsResponse
- Throws:
IOException
-
-
Method Details
-
getVersions
-
getNodesCount
public long getNodesCount() -
getShardsCount
public long getShardsCount() -
getIndicesCount
public long getIndicesCount() -
getIndicesBytes
public long getIndicesBytes() -
getHeapBytes
public long getHeapBytes() -
getMemBytes
public long getMemBytes() -
getClusterUUID
-
getStatus
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-