Package | Description |
---|---|
com.hazelcast.memory |
Provides classes/interfaces for memory utilities, heap/native memory storage support.
|
Modifier and Type | Method and Description |
---|---|
MemoryUnit |
MemorySize.getUnit()
Returns unit of memory size
|
static MemoryUnit |
MemoryUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryUnit[] |
MemoryUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract long |
MemoryUnit.convert(long value,
MemoryUnit m) |
static MemorySize |
MemorySize.parse(String value,
MemoryUnit defaultUnit)
Parses string representation of a memory size value.
|
static String |
MemorySize.toPrettyString(long size,
MemoryUnit unit)
Utility method to create a pretty format representation of given value in given unit.
|
Constructor and Description |
---|
MemorySize(long value,
MemoryUnit unit) |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.