public class NodeStats extends BaseNodeResponse implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
headers
EMPTY_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) |
getNode
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public 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
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BaseNodeResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseNodeResponse
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.