Uses of Class
com.hazelcast.config.NativeMemoryConfig
Packages that use 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
Methods in com.hazelcast.client.config that return NativeMemoryConfigMethods in com.hazelcast.client.config with parameters of type NativeMemoryConfigModifier and TypeMethodDescriptionClientConfig.setNativeMemoryConfig
(NativeMemoryConfig nativeMemoryConfig) -
Uses of NativeMemoryConfig in com.hazelcast.config
Methods in com.hazelcast.config that return NativeMemoryConfigModifier 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.Methods in com.hazelcast.config with parameters of type NativeMemoryConfigModifier and TypeMethodDescriptionConfig.setNativeMemoryConfig
(NativeMemoryConfig nativeMemoryConfig) Sets the native memory configuration for this hazelcast instance.Constructors in com.hazelcast.config with parameters of type NativeMemoryConfig