Class RemoteStoreDownloadStats
java.lang.Object
org.opensearch.client.opensearch._types.RemoteStoreDownloadStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemoteStoreDownloadStats.Builder,RemoteStoreDownloadStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoteStoreDownloadStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemoteStoreDownloadStats.Builder,RemoteStoreDownloadStats>
Any statistics related to downloads to the remote segment store.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteStoreDownloadStats> Json deserializer forRemoteStoreDownloadStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static RemoteStoreDownloadStatsvoidserialize(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.Required - The total amount of data downloaded from the remote segment store.final TimeThe total amount of time spent on downloads from the remote segment store.final longRequired - The total duration, in milliseconds, spent on downloads from the remote segment 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 forRemoteStoreDownloadStats
-
-
Method Details
-
of
public static RemoteStoreDownloadStats of(Function<RemoteStoreDownloadStats.Builder, ObjectBuilder<RemoteStoreDownloadStats>> fn) -
totalDownloadSize
Required - The total amount of data downloaded from the remote segment store.API name:
total_download_size -
totalTimeSpent
The total amount of time spent on downloads from the remote segment store.API name:
total_time_spent -
totalTimeSpentInMillis
public final long totalTimeSpentInMillis()Required - The total duration, in milliseconds, spent on downloads from the remote segment store.API name:
total_time_spent_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<RemoteStoreDownloadStats.Builder,RemoteStoreDownloadStats> - Returns:
- a new builder instance.
-
builder
-
setupRemoteStoreDownloadStatsDeserializer
protected static void setupRemoteStoreDownloadStatsDeserializer(ObjectDeserializer<RemoteStoreDownloadStats.Builder> op) -
hashCode
public int hashCode() -
equals
-