Class SnapshotCurrentCounts
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.SnapshotCurrentCounts
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotCurrentCounts>Json deserializer forSnapshotCurrentCounts -
Method Summary
Modifier and TypeMethodDescriptionfinal intcleanups()Required - Cleanups in progress, not counted in concurrent_operations as they are not concurrentfinal intRequired - Sum of snapshots and snapshot_deletionsstatic SnapshotCurrentCountsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intRequired - Incomplete shard snapshotsfinal intRequired - Snapshots deletions in progressfinal intRequired - Snapshots currently in progresstoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotCurrentCounts
-
-
Method Details
-
of
public static SnapshotCurrentCounts of(Function<SnapshotCurrentCounts.Builder, ObjectBuilder<SnapshotCurrentCounts>> fn) -
snapshots
public final int snapshots()Required - Snapshots currently in progressAPI name:
snapshots -
shardSnapshots
public final int shardSnapshots()Required - Incomplete shard snapshotsAPI name:
shard_snapshots -
snapshotDeletions
public final int snapshotDeletions()Required - Snapshots deletions in progressAPI name:
snapshot_deletions -
concurrentOperations
public final int concurrentOperations()Required - Sum of snapshots and snapshot_deletionsAPI name:
concurrent_operations -
cleanups
public final int cleanups()Required - Cleanups in progress, not counted in concurrent_operations as they are not concurrentAPI name:
cleanups -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotCurrentCountsDeserializer
protected static void setupSnapshotCurrentCountsDeserializer(ObjectDeserializer<SnapshotCurrentCounts.Builder> op)
-