Class RemoteStoreUploadRefreshSizeLagStats
java.lang.Object
org.opensearch.client.opensearch._types.RemoteStoreUploadRefreshSizeLagStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemoteStoreUploadRefreshSizeLagStats.Builder,RemoteStoreUploadRefreshSizeLagStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoteStoreUploadRefreshSizeLagStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemoteStoreUploadRefreshSizeLagStats.Builder,RemoteStoreUploadRefreshSizeLagStats>
The amount of lag during upload between the remote segment store and the local store.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteStoreUploadRefreshSizeLagStats> Json deserializer forRemoteStoreUploadRefreshSizeLagStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final Stringmax()The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.final longmaxBytes()Required - The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.of(Function<RemoteStoreUploadRefreshSizeLagStats.Builder, ObjectBuilder<RemoteStoreUploadRefreshSizeLagStats>> 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 voidsetupRemoteStoreUploadRefreshSizeLagStatsDeserializer(ObjectDeserializer<RemoteStoreUploadRefreshSizeLagStats.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtotal()The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.final longRequired - The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.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 forRemoteStoreUploadRefreshSizeLagStats
-
-
Method Details
-
of
-
max
The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.API name:
max -
maxBytes
public final long maxBytes()Required - The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.API name:
max_bytes -
total
The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.API name:
total -
totalBytes
public final long totalBytes()Required - The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.API name:
total_bytes -
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<RemoteStoreUploadRefreshSizeLagStats.Builder,RemoteStoreUploadRefreshSizeLagStats> - Returns:
- a new builder instance.
-
builder
-
setupRemoteStoreUploadRefreshSizeLagStatsDeserializer
protected static void setupRemoteStoreUploadRefreshSizeLagStatsDeserializer(ObjectDeserializer<RemoteStoreUploadRefreshSizeLagStats.Builder> op) -
hashCode
public int hashCode() -
equals
-