Class RefreshStats
java.lang.Object
org.opensearch.client.opensearch._types.RefreshStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RefreshStats.Builder,RefreshStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RefreshStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RefreshStats.Builder,RefreshStats>
The statistics about refresh operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RefreshStats> Json deserializer forRefreshStats -
Method Summary
Modifier and TypeMethodDescriptionstatic RefreshStats.Builderbuilder()booleanfinal longRequired - The total number of external refresh operations.final TimeThe total amount of time spent on external refresh operations.final longRequired - The total amount of time spent on external refresh operations in milliseconds.inthashCode()final longRequired - The number of refresh listeners.static RefreshStatsvoidserialize(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 longtotal()Required - The total number of refresh operations.final TimeThe total amount of time spent on refresh operations.final longRequired - The total amount of time spent on refresh operations in milliseconds.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 forRefreshStats
-
-
Method Details
-
of
-
externalTotal
public final long externalTotal()Required - The total number of external refresh operations.API name:
external_total -
externalTotalTime
The total amount of time spent on external refresh operations.API name:
external_total_time -
externalTotalTimeInMillis
public final long externalTotalTimeInMillis()Required - The total amount of time spent on external refresh operations in milliseconds.API name:
external_total_time_in_millis -
listeners
public final long listeners()Required - The number of refresh listeners.API name:
listeners -
total
public final long total()Required - The total number of refresh operations.API name:
total -
totalTime
The total amount of time spent on refresh operations.API name:
total_time -
totalTimeInMillis
public final long totalTimeInMillis()Required - The total amount of time spent on refresh operations in milliseconds.API name:
total_time_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<RefreshStats.Builder,RefreshStats> - Returns:
- a new builder instance.
-
builder
-
setupRefreshStatsDeserializer
-
hashCode
public int hashCode() -
equals
-