public class NodeStats extends BaseNodeResponse implements ToXContentFragment
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,
FsInfo fs,
TransportStats transport,
HttpStats http,
AllCircuitBreakerStats breaker,
ScriptStats scriptStats,
DiscoveryStats discoveryStats,
IngestStats ingestStats,
AdaptiveSelectionStats adaptiveSelectionStats) |
Modifier and Type | Method and Description |
---|---|
AdaptiveSelectionStats |
getAdaptiveSelectionStats() |
AllCircuitBreakerStats |
getBreaker() |
DiscoveryStats |
getDiscoveryStats() |
FsInfo |
getFs()
File system level stats.
|
java.lang.String |
getHostname() |
HttpStats |
getHttp() |
NodeIndicesStats |
getIndices()
Indices level stats.
|
IngestStats |
getIngestStats() |
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)
Set this object's fields from a StreamInput.
|
static NodeStats |
readNodeStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getNode
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
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, @Nullable DiscoveryStats discoveryStats, @Nullable IngestStats ingestStats, @Nullable AdaptiveSelectionStats adaptiveSelectionStats)
public long getTimestamp()
@Nullable public java.lang.String getHostname()
@Nullable public NodeIndicesStats getIndices()
@Nullable public ProcessStats getProcess()
@Nullable public ThreadPoolStats getThreadPool()
@Nullable public TransportStats getTransport()
@Nullable public AllCircuitBreakerStats getBreaker()
@Nullable public ScriptStats getScriptStats()
@Nullable public DiscoveryStats getDiscoveryStats()
@Nullable public IngestStats getIngestStats()
@Nullable public AdaptiveSelectionStats getAdaptiveSelectionStats()
public static NodeStats readNodeStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BaseNodeResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BaseNodeResponse
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException