Class WatcherNodeStats
java.lang.Object
co.elastic.clients.elasticsearch.watcher.stats.WatcherNodeStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class WatcherNodeStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.util.List<WatchRecordStats>currentWatches()API name:current_watchesExecutionThreadPoolexecutionThreadPool()Required - API name:execution_thread_pooljava.lang.StringnodeId()Required - API name:node_idstatic WatcherNodeStatsof(java.util.function.Function<WatcherNodeStats.Builder,ObjectBuilder<WatcherNodeStats>> fn)java.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(ObjectDeserializer<WatcherNodeStats.Builder> op)longwatchCount()Required - API name:watch_countWatcherStatewatcherState()Required - 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
-
-
Method Details
-
of
public static WatcherNodeStats of(java.util.function.Function<WatcherNodeStats.Builder,ObjectBuilder<WatcherNodeStats>> fn) -
currentWatches
API name:current_watches -
executionThreadPool
Required - API name:execution_thread_pool -
queuedWatches
API name:queued_watches -
watchCount
public final long watchCount()Required - API name:watch_count -
watcherState
Required - API name:watcher_state -
nodeId
public final java.lang.String nodeId()Required - API name:node_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherNodeStatsDeserializer
protected static void setupWatcherNodeStatsDeserializer(ObjectDeserializer<WatcherNodeStats.Builder> op)
-