DataSize

wvlet.airframe.metrics.DataSize$
See theDataSize companion class
object DataSize

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case object BYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
BYTE.type
sealed abstract class DataSizeUnit(val factor: Long, val unitString: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BYTE.type
object GIGABYTE.type
object KILOBYTE.type
object MEGABYTE.type
object PETABYTE.type
object TERABYTE.type
case object GIGABYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object KILOBYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
implicit class LongToDataSizeConverter(bytes: Long)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case object MEGABYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object PETABYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
implicit class StrToDataSizeConverter(dataSizeStr: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case object TERABYTE extends DataSizeUnit

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(bytes: Long): DataSize
def apply(dataSizeStr: String): DataSize
def succinct(bytes: Long): DataSize

Concrete fields

val units: List[DataSizeUnit]

Implicits

Implicits

final implicit def LongToDataSizeConverter(bytes: Long): LongToDataSizeConverter
final implicit def StrToDataSizeConverter(dataSizeStr: String): StrToDataSizeConverter