public class NodeStats extends NodeOperationResponse implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
NodeStats(DiscoveryNode node,
long timestamp,
NodeIndicesStats indices,
OsStats os,
ProcessStats process,
JvmStats jvm,
ThreadPoolStats threadPool,
NetworkStats network,
FsStats fs,
TransportStats transport,
HttpStats http,
AllCircuitBreakerStats breaker) |
Modifier and Type | Method and Description |
---|---|
AllCircuitBreakerStats |
getBreaker() |
FsStats |
getFs()
File system level stats.
|
String |
getHostname() |
HttpStats |
getHttp() |
NodeIndicesStats |
getIndices()
Indices level stats.
|
JvmStats |
getJvm()
JVM level statistics.
|
NetworkStats |
getNetwork()
Network level statistics.
|
OsStats |
getOs()
Operating System level statistics.
|
ProcessStats |
getProcess()
Process level statistics.
|
ThreadPoolStats |
getThreadPool()
Thread Pool level statistics.
|
long |
getTimestamp() |
TransportStats |
getTransport() |
void |
readFrom(StreamInput in) |
static NodeStats |
readNodeStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getNode
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public NodeStats(DiscoveryNode node, long timestamp, @Nullable NodeIndicesStats indices, @Nullable OsStats os, @Nullable ProcessStats process, @Nullable JvmStats jvm, @Nullable ThreadPoolStats threadPool, @Nullable NetworkStats network, @Nullable FsStats fs, @Nullable TransportStats transport, @Nullable HttpStats http, @Nullable AllCircuitBreakerStats breaker)
public long getTimestamp()
@Nullable public NodeIndicesStats getIndices()
@Nullable public ProcessStats getProcess()
@Nullable public ThreadPoolStats getThreadPool()
@Nullable public NetworkStats getNetwork()
@Nullable public TransportStats getTransport()
@Nullable public AllCircuitBreakerStats getBreaker()
public static NodeStats readNodeStats(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class NodeOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodeOperationResponse
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2015. All rights reserved.