Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
NativeMemoryConfig |
ClientConfig.getNativeMemoryConfig() |
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig) |
Modifier and Type | Method and Description |
---|---|
NativeMemoryConfig |
Config.getNativeMemoryConfig()
Returns the native memory configuration for this hazelcast instance.
|
NativeMemoryConfig |
NativeMemoryConfig.setAllocatorType(NativeMemoryConfig.MemoryAllocatorType allocatorType)
Sets the
NativeMemoryConfig.MemoryAllocatorType to be used while allocating native memory. |
NativeMemoryConfig |
NativeMemoryConfig.setCapacity(Capacity capacity)
Sets size (capacity) of the native memory region.
|
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. Please use
setPersistentMemoryConfig(PersistentMemoryConfig)
or PersistentMemoryConfig.addDirectoryConfig(PersistentMemoryDirectoryConfig)
instead. |
NativeMemoryConfig |
NativeMemoryConfig.setSize(MemorySize capacity)
Deprecated.
Since 5.2, use
setCapacity(Capacity) instead. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
Sets the native memory configuration for this hazelcast instance.
|
Constructor and Description |
---|
NativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig) |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.