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.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)
Sets the persistent memory directory (e.g.
|
NativeMemoryConfig |
NativeMemoryConfig.setSize(MemorySize size)
Sets size of the native memory region.
|
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 © 2022 Hazelcast, Inc.. All rights reserved.