Uses of Class
io.dropwizard.util.DataSize
-
Uses of DataSize in io.dropwizard.util
Methods in io.dropwizard.util that return DataSizeModifier and TypeMethodDescriptionstatic DataSizeDataSize.bytes(long count) Constructs a newDataSizeobject representing the specified amount of bytes.static DataSizeDataSize.gibibytes(long count) Constructs a newDataSizeobject representing the specified amount of gibibytes.static DataSizeDataSize.gigabytes(long count) Constructs a newDataSizeobject representing the specified amount of gigabytes.static DataSizeDataSize.kibibytes(long count) Constructs a newDataSizeobject representing the specified amount of kibibytes.static DataSizeDataSize.kilobytes(long count) Constructs a newDataSizeobject representing the specified amount of kilobytes.static DataSizeDataSize.mebibytes(long count) Constructs a newDataSizeobject representing the specified amount of mebibytes.static DataSizeDataSize.megabytes(long count) Constructs a newDataSizeobject representing the specified amount of megabytes.static DataSizeDataSize.parse(CharSequence size) Parses a givenCharSequenceto aDataSizeobject.static DataSizeDataSize.parse(CharSequence size, DataSizeUnit defaultUnit) Parses a givenCharSequenceto aDataSizeobject.static DataSizeDataSize.pebibytes(long count) Constructs a newDataSizeobject representing the specified amount of pebibytes.static DataSizeDataSize.petabytes(long count) Constructs a newDataSizeobject representing the specified amount of petabytes.static DataSizeDataSize.tebibytes(long count) Constructs a newDataSizeobject representing the specified amount of tebibytes.static DataSizeDataSize.terabytes(long count) Constructs a newDataSizeobject representing the specified amount of terabytes.Methods in io.dropwizard.util with parameters of type DataSize