Class Storage
java.lang.Object
co.elastic.clients.elasticsearch.indices.Storage
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Storage>
Json deserializer forStorage
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.static Storage
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
type()
Required - API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forStorage
-
-
Method Details
-
of
-
type
Required - API name:type
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupStorageDeserializer
-