Streamable, Writeable, ToXContent, ToXContentFragmentpublic class NodeStats extends BaseNodeResponse implements ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | 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 | 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.
|
getNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentremoteAddress, remoteAddresspublic 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.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BaseNodeResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class BaseNodeResponsejava.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException