Class ClusterProcessor
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterProcessor
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterProcessor extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
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
static ClusterProcessor
of(java.util.function.Function<ClusterProcessor.Builder,ObjectBuilder<ClusterProcessor>> fn)
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(ObjectDeserializer<ClusterProcessor.Builder> op)
long
timeInMillis()
Required - API name:time_in_millis
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterProcessor
-
-
Method Details
-
of
public static ClusterProcessor of(java.util.function.Function<ClusterProcessor.Builder,ObjectBuilder<ClusterProcessor>> fn) -
count
public final long count()Required - API name:count
-
current
public final long current()Required - API name:current
-
failed
public final long failed()Required - API name:failed
-
timeInMillis
public final long timeInMillis()Required - API name:time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterProcessorDeserializer
protected static void setupClusterProcessorDeserializer(ObjectDeserializer<ClusterProcessor.Builder> op)
-