Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.memory |
Provides classes/interfaces for memory utilities, heap/native memory storage support.
|
Modifier and Type | Field and Description |
---|---|
static Capacity |
MemoryTierConfig.DEFAULT_CAPACITY
Default capacity.
|
static Capacity |
LocalDeviceConfig.DEFAULT_CAPACITY
Default device capacity.
|
static Capacity |
BTreeIndexConfig.DEFAULT_PAGE_SIZE
Default value of page size for B-Trees.
|
Modifier and Type | Method and Description |
---|---|
Capacity |
NativeMemoryConfig.getCapacity()
Returns size (capacity) of the native memory region.
|
Capacity |
MemoryTierConfig.getCapacity()
Returns the capacity of this memory tier.
|
Capacity |
LocalDeviceConfig.getCapacity()
Returns the capacity of this device.
|
Capacity |
DeviceConfig.getCapacity()
Returns the device capacity.
|
Capacity |
BTreeIndexConfig.getPageSize()
Returns the page size of B-Tree index.
|
Modifier and Type | Method and Description |
---|---|
NativeMemoryConfig |
NativeMemoryConfig.setCapacity(Capacity capacity)
Sets size (capacity) of the native memory region.
|
MemoryTierConfig |
MemoryTierConfig.setCapacity(Capacity capacity)
Sets the capacity of this memory tier.
|
LocalDeviceConfig |
LocalDeviceConfig.setCapacity(Capacity capacity)
Sets the capacity of this device.
|
BTreeIndexConfig |
BTreeIndexConfig.setPageSize(Capacity pageSize)
Sets index page size to given non-negative value.
|
Modifier and Type | Class and Description |
---|---|
class |
MemorySize
Deprecated.
Since 5.1,
Capacity should be used instead. |
Modifier and Type | Method and Description |
---|---|
static Capacity |
Capacity.of(long value,
MemoryUnit unit)
Returns an instance of
Capacity . |
static Capacity |
Capacity.parse(String value)
Parses string representation of a capacity.
|
static Capacity |
Capacity.parse(String value,
MemoryUnit defaultUnit)
Parses string representation of a capacity.
|
Copyright © 2023 Hazelcast, Inc.. All rights reserved.