ConfigMemorySize

org.ekrich.config.ConfigMemorySize
See theConfigMemorySize companion class

An immutable class representing an amount of memory. Use static factory methods such as ConfigMemorySize#ofBytes to create instances.

Attributes

Since

1.3.0

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def ofBytes(bytes: Long): ConfigMemorySize

Constructs a ConfigMemorySize representing the given number of bytes.

Constructs a ConfigMemorySize representing the given number of bytes.

Value parameters

bytes

a number of bytes

Attributes

Returns

an instance representing the number of bytes

Since

1.3.0