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.
|
Modifier and Type | Method and Description |
---|---|
Capacity |
MemoryTierConfig.getCapacity()
Returns the capacity of this memory tier.
|
Capacity |
DeviceConfig.getCapacity()
Returns the device capacity.
|
Capacity |
LocalDeviceConfig.getCapacity()
Returns the capacity of this device.
|
Modifier and Type | Method and Description |
---|---|
MemoryTierConfig |
MemoryTierConfig.setCapacity(Capacity capacity)
Sets the capacity of this memory tier.
|
LocalDeviceConfig |
LocalDeviceConfig.setCapacity(Capacity capacity)
Sets the capacity of this device.
|
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 © 2022 Hazelcast, Inc.. All rights reserved.