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 class
WatcherNodeStats.Builder
Builder forWatcherNodeStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherNodeStats>
_DESERIALIZER
Json deserializer forWatcherNodeStats
-
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
static WatcherNodeStats
of(java.util.function.Function<WatcherNodeStats.Builder,ObjectBuilder<WatcherNodeStats>> fn)
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(ObjectDeserializer<WatcherNodeStats.Builder> op)
java.lang.String
toString()
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, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupWatcherNodeStatsDeserializer
protected static void setupWatcherNodeStatsDeserializer(ObjectDeserializer<WatcherNodeStats.Builder> op)
-