| 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_CAPACITYDefault capacity. | 
| static Capacity | LocalDeviceConfig. DEFAULT_CAPACITYDefault 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  | MemorySizeDeprecated. 
 Since 5.1,  Capacityshould 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.