Class ClusterStateQueue
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ClusterStateQueue
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterStateQueue.Builder,ClusterStateQueue>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterStateQueue
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterStateQueue.Builder,ClusterStateQueue>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterStateQueue> Json deserializer forClusterStateQueue -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterStateQueue.Builderbuilder()final IntegerNumber of committed cluster states in queue.booleaninthashCode()static ClusterStateQueuefinal Integerpending()Number of pending cluster states in queue.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Integertotal()Total number of cluster states in queue.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 forClusterStateQueue
-
-
Method Details
-
of
public static ClusterStateQueue of(Function<ClusterStateQueue.Builder, ObjectBuilder<ClusterStateQueue>> fn) -
committed
Number of committed cluster states in queue.API name:
committed -
pending
Number of pending cluster states in queue.API name:
pending -
total
Total number of cluster states in queue.API name:
total -
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<ClusterStateQueue.Builder,ClusterStateQueue> - Returns:
- a new builder instance.
-
builder
-
setupClusterStateQueueDeserializer
protected static void setupClusterStateQueueDeserializer(ObjectDeserializer<ClusterStateQueue.Builder> op) -
hashCode
public int hashCode() -
equals
-