Class Storage
java.lang.Object
co.elastic.clients.elasticsearch.indices.Storage
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Storage extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStorage.BuilderBuilder forStorage. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Storage>_DESERIALIZERJson deserializer forStorage -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowMmap()You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.static Storageof(java.util.function.Function<Storage.Builder,ObjectBuilder<Storage>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupStorageDeserializer(ObjectDeserializer<Storage.Builder> op)java.lang.StringtoString()StorageTypetype()Required - API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStorage
-
-
Method Details
-
of
-
type
Required - API name:type -
allowMmap
@Nullable public final java.lang.Boolean allowMmap()You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap. This is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This setting is useful, for example, if you are in an environment where you can not control the ability to create a lot of memory maps so you need disable the ability to use memory-mapping.API name:
allow_mmap -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupStorageDeserializer
-