Class RemoteStoreUploadStats
java.lang.Object
org.opensearch.client.opensearch._types.RemoteStoreUploadStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemoteStoreUploadStats.Builder,RemoteStoreUploadStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoteStoreUploadStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemoteStoreUploadStats.Builder,RemoteStoreUploadStats>
Any statistics related to uploads to the remote segment store.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteStoreUploadStats> Json deserializer forRemoteStoreUploadStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final TimeThe maximum duration that the remote refresh is behind the local refresh.final longRequired - The maximum duration, in milliseconds, that the remote refresh is behind the local refresh.static RemoteStoreUploadStatspressure()API name:pressureRequired - API name:refresh_size_lagvoidserialize(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 TimeThe total amount of time spent on uploads to the remote segment store.final longRequired - The total amount of time, in milliseconds, spent on uploads to the remote segment store.Required - API name:total_upload_sizeMethods 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 forRemoteStoreUploadStats
-
-
Method Details
-
of
public static RemoteStoreUploadStats of(Function<RemoteStoreUploadStats.Builder, ObjectBuilder<RemoteStoreUploadStats>> fn) -
maxRefreshTimeLag
The maximum duration that the remote refresh is behind the local refresh.API name:
max_refresh_time_lag -
maxRefreshTimeLagInMillis
public final long maxRefreshTimeLagInMillis()Required - The maximum duration, in milliseconds, that the remote refresh is behind the local refresh.API name:
max_refresh_time_lag_in_millis -
pressure
API name:pressure -
refreshSizeLag
Required - API name:refresh_size_lag -
totalTimeSpent
The total amount of time spent on uploads to the remote segment store.API name:
total_time_spent -
totalTimeSpentInMillis
public final long totalTimeSpentInMillis()Required - The total amount of time, in milliseconds, spent on uploads to the remote segment store.API name:
total_time_spent_in_millis -
totalUploadSize
Required - API name:total_upload_size -
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<RemoteStoreUploadStats.Builder,RemoteStoreUploadStats> - Returns:
- a new builder instance.
-
builder
-
setupRemoteStoreUploadStatsDeserializer
protected static void setupRemoteStoreUploadStatsDeserializer(ObjectDeserializer<RemoteStoreUploadStats.Builder> op) -
hashCode
public int hashCode() -
equals
-