public final class ConfigMemorySize extends Object
ofBytes(long)
to create instances.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
static ConfigMemorySize |
ofBytes(long bytes)
Constructs a ConfigMemorySize representing the given
number of bytes.
|
long |
toBytes()
Gets the size in bytes.
|
String |
toString() |
public static ConfigMemorySize ofBytes(long bytes)
bytes
- a number of bytespublic long toBytes()
Copyright © 2018 com.typesafe. All rights reserved.