Uses of Class
com.hazelcast.memory.Capacity
Package
Description
Provides classes for configuring HazelcastInstance.
Provides classes/interfaces for memory utilities, heap/native memory storage support.
-
Uses of Capacity in com.hazelcast.config
Modifier and TypeFieldDescriptionstatic final Capacity
LocalDeviceConfig.DEFAULT_CAPACITY
Default device capacity.static final Capacity
MemoryTierConfig.DEFAULT_CAPACITY
Default capacity.static final Capacity
BTreeIndexConfig.DEFAULT_PAGE_SIZE
Default value of page size for B-Trees.Modifier and TypeMethodDescriptionDeviceConfig.getCapacity()
Returns the device capacity.LocalDeviceConfig.getCapacity()
Returns the capacity of this device.MemoryTierConfig.getCapacity()
Returns the capacity of this memory tier.NativeMemoryConfig.getCapacity()
Returns size (capacity) of the native memory region.BTreeIndexConfig.getPageSize()
Returns the page size of B-Tree index.Modifier and TypeMethodDescriptionLocalDeviceConfig.setCapacity
(Capacity capacity) Sets the capacity of this device.MemoryTierConfig.setCapacity
(Capacity capacity) Sets the capacity of this memory tier.NativeMemoryConfig.setCapacity
(Capacity capacity) Sets size (capacity) of the native memory region.BTreeIndexConfig.setPageSize
(Capacity pageSize) Sets index page size to given non-negative value. -
Uses of Capacity in com.hazelcast.memory
Modifier and TypeMethodDescriptionstatic Capacity
Capacity.of
(long value, MemoryUnit unit) Returns an instance ofCapacity
.static Capacity
Parses string representation of a capacity.static Capacity
Capacity.parse
(String value, MemoryUnit defaultUnit) Parses string representation of a capacity.
Capacity
should be used instead.