Class ClusterFileSystem
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterFileSystem
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterFileSystem.Builder,ClusterFileSystem>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterFileSystem
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterFileSystem.Builder,ClusterFileSystem>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterFileSystem> Json deserializer forClusterFileSystem -
Method Summary
Modifier and TypeMethodDescriptionfinal StringTotal number of bytes available to JVM in file stores across all selected nodes.final longRequired - Total number of bytes available to JVM in file stores across all selected nodes.static ClusterFileSystem.Builderbuilder()final StringTotal size, of all cache reserved across all selected nodes.final LongTotal size, in bytes, of all cache reserved across all selected nodes.booleanfinal Stringfree()Total number of unallocated bytes in file stores across all selected nodes.final longRequired - Total number of unallocated bytes in file stores across all selected nodes.inthashCode()static ClusterFileSystemvoidserialize(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 Stringtotal()Total size, of all file stores across all selected nodes.final longRequired - Total size, in bytes, of all file stores across all selected nodes.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 forClusterFileSystem
-
-
Method Details
-
of
public static ClusterFileSystem of(Function<ClusterFileSystem.Builder, ObjectBuilder<ClusterFileSystem>> fn) -
available
Total number of bytes available to JVM in file stores across all selected nodes. Depending on operating system or process-level restrictions, this number may be less thannodes.fs.free_in_byes. This is the actual amount of free disk space the selected OpenSearch nodes can use.API name:
available -
availableInBytes
public final long availableInBytes()Required - Total number of bytes available to JVM in file stores across all selected nodes. Depending on operating system or process-level restrictions, this number may be less thannodes.fs.free_in_byes. This is the actual amount of free disk space the selected OpenSearch nodes can use.API name:
available_in_bytes -
cacheReserved
Total size, of all cache reserved across all selected nodes.API name:
cache_reserved -
cacheReservedInBytes
Total size, in bytes, of all cache reserved across all selected nodes.API name:
cache_reserved_in_bytes -
free
Total number of unallocated bytes in file stores across all selected nodes.API name:
free -
freeInBytes
public final long freeInBytes()Required - Total number of unallocated bytes in file stores across all selected nodes.API name:
free_in_bytes -
total
Total size, of all file stores across all selected nodes.API name:
total -
totalInBytes
public final long totalInBytes()Required - Total size, in bytes, of all file stores across all selected nodes.API name:
total_in_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<ClusterFileSystem.Builder,ClusterFileSystem> - Returns:
- a new builder instance.
-
builder
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op) -
hashCode
public int hashCode() -
equals
-