Class ClusterProcessor
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterProcessor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterProcessor.Builder,ClusterProcessor>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterProcessor
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterProcessor.Builder,ClusterProcessor>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterProcessor> Json deserializer forClusterProcessor -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterProcessor.Builderbuilder()final longcount()Required - API name:countfinal longcurrent()Required - API name:currentbooleanfinal longfailed()Required - API name:failedinthashCode()static ClusterProcessorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetime()API name:timefinal longRequired - API name:time_in_millisCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterProcessor
-
-
Method Details
-
of
public static ClusterProcessor of(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 -
time
API name:time -
timeInMillis
public final long timeInMillis()Required - API name:time_in_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterProcessor.Builder,ClusterProcessor> - Returns:
- a new builder instance.
-
builder
-
setupClusterProcessorDeserializer
protected static void setupClusterProcessorDeserializer(ObjectDeserializer<ClusterProcessor.Builder> op) -
hashCode
public int hashCode() -
equals
-