Class WatcherNodeStats
java.lang.Object
co.elastic.clients.elasticsearch.watcher.stats.WatcherNodeStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WatcherNodeStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WatcherNodeStats.Builder
Builder forWatcherNodeStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherNodeStats>
_DESERIALIZER
Json deserializer forWatcherNodeStats
-
Constructor Summary
Constructors Constructor Description WatcherNodeStats(WatcherNodeStats.Builder builder)
WatcherNodeStats(java.util.function.Function<WatcherNodeStats.Builder,WatcherNodeStats.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<WatchRecordStats>
currentWatches()
API name:current_watches
ExecutionThreadPool
executionThreadPool()
Required - API name:execution_thread_pool
java.lang.String
nodeId()
Required - API name:node_id
java.util.List<WatchRecordQueuedStats>
queuedWatches()
API name:queued_watches
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupWatcherNodeStatsDeserializer(DelegatingDeserializer<WatcherNodeStats.Builder> op)
long
watchCount()
Required - API name:watch_count
WatcherState
watcherState()
Required - API name:watcher_state
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherNodeStats
-
-
Constructor Details
-
WatcherNodeStats
-
WatcherNodeStats
public WatcherNodeStats(java.util.function.Function<WatcherNodeStats.Builder,WatcherNodeStats.Builder> fn)
-
-
Method Details
-
currentWatches
API name:current_watches
-
executionThreadPool
Required - API name:execution_thread_pool
-
queuedWatches
API name:queued_watches
-
watchCount
public long watchCount()Required - API name:watch_count
-
watcherState
Required - API name:watcher_state
-
nodeId
public java.lang.String nodeId()Required - API name:node_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherNodeStatsDeserializer
protected static void setupWatcherNodeStatsDeserializer(DelegatingDeserializer<WatcherNodeStats.Builder> op)
-