Uses of Class
com.hazelcast.memory.Capacity
Packages that use 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
Fields in com.hazelcast.config declared as CapacityModifier and TypeFieldDescriptionstatic final Capacity
MemoryTierConfig.DEFAULT_CAPACITY
Default capacity.static final Capacity
BTreeIndexConfig.DEFAULT_PAGE_SIZE
Default value of page size for B-Trees.Methods in com.hazelcast.config that return CapacityModifier and TypeMethodDescriptionMemoryTierConfig.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.Methods in com.hazelcast.config with parameters of type CapacityModifier and TypeMethodDescriptionMemoryTierConfig.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
Subclasses of Capacity in com.hazelcast.memoryMethods in com.hazelcast.memory that return CapacityModifier 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.