public class NodeStats extends BaseNodeResponse 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,
FsInfo fs,
TransportStats transport,
HttpStats http,
AllCircuitBreakerStats breaker,
ScriptStats scriptStats) |
| Modifier and Type | Method and Description |
|---|---|
AllCircuitBreakerStats |
getBreaker() |
FsInfo |
getFs()
File system level stats.
|
String |
getHostname() |
HttpStats |
getHttp() |
NodeIndicesStats |
getIndices()
Indices level stats.
|
JvmStats |
getJvm()
JVM level statistics.
|
OsStats |
getOs()
Operating System level statistics.
|
ProcessStats |
getProcess()
Process level statistics.
|
ScriptStats |
getScriptStats() |
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) |
getNoderemoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic NodeStats(DiscoveryNode node, long timestamp, @Nullable NodeIndicesStats indices, @Nullable OsStats os, @Nullable ProcessStats process, @Nullable JvmStats jvm, @Nullable ThreadPoolStats threadPool, @Nullable FsInfo fs, @Nullable TransportStats transport, @Nullable HttpStats http, @Nullable AllCircuitBreakerStats breaker, @Nullable ScriptStats scriptStats)
public long getTimestamp()
@Nullable public NodeIndicesStats getIndices()
@Nullable public ProcessStats getProcess()
@Nullable public ThreadPoolStats getThreadPool()
@Nullable public TransportStats getTransport()
@Nullable public AllCircuitBreakerStats getBreaker()
@Nullable public ScriptStats getScriptStats()
public static NodeStats readNodeStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BaseNodeResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodeResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.