Class IoStats
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.IoStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IoStats.Builder,IoStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IoStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IoStats.Builder,IoStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IoStats> Json deserializer forIoStats -
Method Summary
Modifier and TypeMethodDescriptionstatic IoStats.Builderbuilder()final List<IoStatDevice> devices()Array of disk metrics for each device that is backing an OpenSearch data path.booleaninthashCode()static IoStatsvoidserialize(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 IoStatDevicetotal()API name:totalMethods 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 forIoStats
-
-
Method Details
-
of
-
devices
Array of disk metrics for each device that is backing an OpenSearch data path. These disk metrics are probed periodically and averages between the last probe and the current probe are computed.API name:
devices -
total
API name:total -
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<IoStats.Builder,IoStats> - Returns:
- a new builder instance.
-
builder
-
setupIoStatsDeserializer
-
hashCode
public int hashCode() -
equals
-