Uses of Class
com.hazelcast.config.NativeMemoryConfig
Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of NativeMemoryConfig in com.hazelcast.client.config
Methods in com.hazelcast.client.config that return NativeMemoryConfig Modifier and Type Method Description NativeMemoryConfig
ClientConfig. getNativeMemoryConfig()
Methods in com.hazelcast.client.config with parameters of type NativeMemoryConfig Modifier and Type Method Description ClientConfig
ClientConfig. setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
-
Uses of NativeMemoryConfig in com.hazelcast.config
Methods in com.hazelcast.config that return NativeMemoryConfig Modifier and Type Method Description NativeMemoryConfig
Config. getNativeMemoryConfig()
Returns the native memory configuration for this hazelcast instance.NativeMemoryConfig
NativeMemoryConfig. setAllocatorType(NativeMemoryConfig.MemoryAllocatorType allocatorType)
Sets theNativeMemoryConfig.MemoryAllocatorType
to be used while allocating native memory.NativeMemoryConfig
NativeMemoryConfig. setEnabled(boolean enabled)
Enables or disables native memory allocation.NativeMemoryConfig
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
NativeMemoryConfig. setMinBlockSize(int minBlockSize)
Sets the minimum memory block size, in bytes, to be served by native memory manager.NativeMemoryConfig
NativeMemoryConfig. setPageSize(int pageSize)
Sets the page size, in bytes, to be allocated by native memory manager as a single block.NativeMemoryConfig
NativeMemoryConfig. setPersistentMemoryDirectory(String directory)
Deprecated.Since 4.1 multiple persistent memory directories are supported.NativeMemoryConfig
NativeMemoryConfig. setSize(MemorySize size)
Sets size of the native memory region.Methods in com.hazelcast.config with parameters of type NativeMemoryConfig Modifier and Type Method Description Config
Config. setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
Sets the native memory configuration for this hazelcast instance.Constructors in com.hazelcast.config with parameters of type NativeMemoryConfig Constructor Description NativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)