Class NodeStats
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.action.admin.cluster.node.stats.NodeStats
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
public class NodeStats extends BaseNodeResponse implements org.elasticsearch.common.xcontent.ToXContentFragment
Node statistics (dynamic, changes depending on when created).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Constructor Summary
Constructors 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, ScriptCacheStats scriptCacheStats)
NodeStats(StreamInput in)
-
Method Summary
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.ScriptCacheStats
getScriptCacheStats()
ScriptStats
getScriptStats()
ThreadPoolStats
getThreadPool()
Thread Pool level statistics.long
getTimestamp()
TransportStats
getTransport()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
NodeStats
- Throws:
java.io.IOException
-
NodeStats
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, @Nullable ScriptCacheStats scriptCacheStats)
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getHostname
@Nullable public java.lang.String getHostname() -
getIndices
Indices level stats. -
getOs
Operating System level statistics. -
getProcess
Process level statistics. -
getJvm
JVM level statistics. -
getThreadPool
Thread Pool level statistics. -
getFs
File system level stats. -
getTransport
-
getHttp
-
getBreaker
-
getScriptStats
-
getDiscoveryStats
-
getIngestStats
-
getAdaptiveSelectionStats
-
getScriptCacheStats
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
java.io.IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-