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
DataSize.type

Members list

Type members

Classlikes

case object BYTE extends DataSizeUnit

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BYTE
object GIGABYTE
object KILOBYTE
object MEGABYTE
object PETABYTE
object TERABYTE
Show all
case object GIGABYTE extends DataSizeUnit

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataSizeUnit
class Object
trait Matchable
class Any
Show all
Self type
GIGABYTE.type
case object KILOBYTE extends DataSizeUnit

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataSizeUnit
class Object
trait Matchable
class Any
Show all
Self type
KILOBYTE.type
implicit class LongToDataSizeConverter(bytes: Long)

Attributes

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

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataSizeUnit
class Object
trait Matchable
class Any
Show all
Self type
MEGABYTE.type
case object PETABYTE extends DataSizeUnit

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataSizeUnit
class Object
trait Matchable
class Any
Show all
Self type
PETABYTE.type
implicit class StrToDataSizeConverter(dataSizeStr: String)

Attributes

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

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataSizeUnit
class Object
trait Matchable
class Any
Show all
Self type
TERABYTE.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