Uses of Class
com.hazelcast.config.NativeMemoryConfig
Package
Description
Contains classes related to config for com.hazelcast.client
Provides classes for configuring HazelcastInstance.
-
Uses of NativeMemoryConfig in com.hazelcast.client.config
Modifier and TypeMethodDescriptionClientConfig.setNativeMemoryConfig
(NativeMemoryConfig nativeMemoryConfig) -
Uses of NativeMemoryConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionConfig.getNativeMemoryConfig()
Returns the native memory configuration for this hazelcast instance.NativeMemoryConfig.setAllocatorType
(NativeMemoryConfig.MemoryAllocatorType allocatorType) Sets theNativeMemoryConfig.MemoryAllocatorType
to be used while allocating native memory.NativeMemoryConfig.setCapacity
(Capacity capacity) Sets size (capacity) of the native memory region.NativeMemoryConfig.setEnabled
(boolean enabled) Enables or disables native memory allocation.NativeMemoryConfig.setMetadataSpacePercentage
(float metadataSpacePercentage) Sets the percentage of native memory space to be used to store metadata and internal memory structures by the native memory manager.NativeMemoryConfig.setMinBlockSize
(int minBlockSize) Sets the minimum memory block size, in bytes, to be served by native memory manager.NativeMemoryConfig.setPageSize
(int pageSize) Sets the page size, in bytes, to be allocated by native memory manager as a single block.NativeMemoryConfig.setPersistentMemoryDirectory
(String directory) Deprecated.Since 4.1 multiple persistent memory directories are supported.NativeMemoryConfig.setSize
(MemorySize capacity) Deprecated.Since 5.2, usesetCapacity(Capacity)
instead.Modifier and TypeMethodDescriptionConfig.setNativeMemoryConfig
(NativeMemoryConfig nativeMemoryConfig) Sets the native memory configuration for this hazelcast instance.