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 classClusterProcessor.BuilderBuilder forClusterProcessor. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterProcessor>_DESERIALIZERJson deserializer forClusterProcessor -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countlongcurrent()Required - API name:currentlongfailed()Required - API name:failedstatic ClusterProcessorof(java.util.function.Function<ClusterProcessor.Builder,ObjectBuilder<ClusterProcessor>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterProcessorDeserializer(ObjectDeserializer<ClusterProcessor.Builder> op)longtimeInMillis()Required - API name:time_in_millisjava.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupClusterProcessorDeserializer
protected static void setupClusterProcessorDeserializer(ObjectDeserializer<ClusterProcessor.Builder> op)
-