Class ClusterProcessor
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterProcessor
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ClusterProcessor extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterProcessor.Builder
Builder forClusterProcessor
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterProcessor>
_DESERIALIZER
Json deserializer forClusterProcessor
-
Constructor Summary
Constructors Constructor Description ClusterProcessor(ClusterProcessor.Builder builder)
ClusterProcessor(java.util.function.Function<ClusterProcessor.Builder,ClusterProcessor.Builder> fn)
-
Method Summary
Modifier and Type Method Description long
count()
Required - API name:count
long
current()
Required - API name:current
long
failed()
Required - API name:failed
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
setupClusterProcessorDeserializer(DelegatingDeserializer<ClusterProcessor.Builder> op)
long
timeInMillis()
Required - API name:time_in_millis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterProcessor
-
-
Constructor Details
-
ClusterProcessor
-
ClusterProcessor
public ClusterProcessor(java.util.function.Function<ClusterProcessor.Builder,ClusterProcessor.Builder> fn)
-
-
Method Details
-
count
public long count()Required - API name:count
-
current
public long current()Required - API name:current
-
failed
public long failed()Required - API name:failed
-
timeInMillis
public long timeInMillis()Required - API name:time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupClusterProcessorDeserializer
protected static void setupClusterProcessorDeserializer(DelegatingDeserializer<ClusterProcessor.Builder> op)
-