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 classWatcherNodeStats.BuilderBuilder forWatcherNodeStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherNodeStats>_DESERIALIZERJson 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_watchesExecutionThreadPoolexecutionThreadPool()API name:execution_thread_pooljava.lang.StringnodeId()API name:node_idjava.util.List<WatchRecordQueuedStats>queuedWatches()API name:queued_watchesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWatcherNodeStatsDeserializer(DelegatingDeserializer<WatcherNodeStats.Builder> op)longwatchCount()API name:watch_countWatcherStatewatcherState()API name:watcher_stateMethods 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
API name:execution_thread_pool -
queuedWatches
API name:queued_watches -
watchCount
public long watchCount()API name:watch_count -
watcherState
API name:watcher_state -
nodeId
public java.lang.String nodeId()API name:node_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherNodeStatsDeserializer
protected static void setupWatcherNodeStatsDeserializer(DelegatingDeserializer<WatcherNodeStats.Builder> op)
-