public class NodeStats extends NodeOperationResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_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) |
getNodeputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic 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
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class NodeOperationResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class NodeOperationResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.