Uses of Class
io.dropwizard.util.DataSize
-
Packages that use DataSize Package Description io.dropwizard.jetty io.dropwizard.logging.common io.dropwizard.util io.dropwizard.validation -
-
Uses of DataSize in io.dropwizard.jetty
Methods in io.dropwizard.jetty that return DataSize Modifier and Type Method Description DataSize
HttpConnectorFactory. getBufferPoolIncrement()
DataSize
GzipHandlerFactory. getBufferSize()
DataSize
HttpConnectorFactory. getHeaderCacheSize()
DataSize
HttpConnectorFactory. getInputBufferSize()
DataSize
HttpConnectorFactory. getMaxBufferPoolSize()
DataSize
HttpConnectorFactory. getMaxRequestHeaderSize()
DataSize
HttpConnectorFactory. getMaxResponseHeaderSize()
DataSize
HttpConnectorFactory. getMinBufferPoolSize()
DataSize
GzipHandlerFactory. getMinimumEntitySize()
DataSize
HttpConnectorFactory. getMinRequestDataPerSecond()
DataSize
HttpConnectorFactory. getMinResponseDataPerSecond()
DataSize
HttpConnectorFactory. getOutputBufferSize()
Methods in io.dropwizard.jetty with parameters of type DataSize Modifier and Type Method Description void
HttpConnectorFactory. setBufferPoolIncrement(DataSize bufferPoolIncrement)
void
GzipHandlerFactory. setBufferSize(DataSize size)
void
HttpConnectorFactory. setHeaderCacheSize(DataSize headerCacheSize)
void
HttpConnectorFactory. setInputBufferSize(DataSize inputBufferSize)
void
HttpConnectorFactory. setMaxBufferPoolSize(DataSize maxBufferPoolSize)
void
HttpConnectorFactory. setMaxRequestHeaderSize(DataSize maxRequestHeaderSize)
void
HttpConnectorFactory. setMaxResponseHeaderSize(DataSize maxResponseHeaderSize)
void
HttpConnectorFactory. setMinBufferPoolSize(DataSize minBufferPoolSize)
void
GzipHandlerFactory. setMinimumEntitySize(DataSize size)
void
HttpConnectorFactory. setMinRequestDataPerSecond(DataSize minRequestDataPerSecond)
void
HttpConnectorFactory. setMinResponseDataPerSecond(DataSize minResponseDataPerSecond)
void
HttpConnectorFactory. setOutputBufferSize(DataSize outputBufferSize)
-
Uses of DataSize in io.dropwizard.logging.common
Methods in io.dropwizard.logging.common that return DataSize Modifier and Type Method Description DataSize
FileAppenderFactory. getBufferSize()
@Nullable DataSize
FileAppenderFactory. getMaxFileSize()
DataSize
TcpSocketAppenderFactory. getSendBufferSize()
@Nullable DataSize
FileAppenderFactory. getTotalSizeCap()
Returns the total size threshold at which archived log files will be removed.Methods in io.dropwizard.logging.common with parameters of type DataSize Modifier and Type Method Description void
FileAppenderFactory. setBufferSize(DataSize bufferSize)
void
FileAppenderFactory. setMaxFileSize(@Nullable DataSize maxFileSize)
void
TcpSocketAppenderFactory. setSendBufferSize(DataSize sendBufferSize)
void
FileAppenderFactory. setTotalSizeCap(@Nullable DataSize totalSizeCap)
Sets the total size threshold at which archived log files will be removed. -
Uses of DataSize in io.dropwizard.util
Methods in io.dropwizard.util that return DataSize Modifier and Type Method Description static DataSize
DataSize. bytes(long count)
Constructs a newDataSize
object representing the specified amount of bytes.static DataSize
DataSize. gibibytes(long count)
Constructs a newDataSize
object representing the specified amount of gibibytes.static DataSize
DataSize. gigabytes(long count)
Constructs a newDataSize
object representing the specified amount of gigabytes.static DataSize
DataSize. kibibytes(long count)
Constructs a newDataSize
object representing the specified amount of kibibytes.static DataSize
DataSize. kilobytes(long count)
Constructs a newDataSize
object representing the specified amount of kilobytes.static DataSize
DataSize. mebibytes(long count)
Constructs a newDataSize
object representing the specified amount of mebibytes.static DataSize
DataSize. megabytes(long count)
Constructs a newDataSize
object representing the specified amount of megabytes.static DataSize
DataSize. parse(CharSequence size)
Parses a givenCharSequence
to aDataSize
object.static DataSize
DataSize. parse(CharSequence size, DataSizeUnit defaultUnit)
Parses a givenCharSequence
to aDataSize
object.static DataSize
DataSize. pebibytes(long count)
Constructs a newDataSize
object representing the specified amount of pebibytes.static DataSize
DataSize. petabytes(long count)
Constructs a newDataSize
object representing the specified amount of petabytes.static DataSize
DataSize. tebibytes(long count)
Constructs a newDataSize
object representing the specified amount of tebibytes.static DataSize
DataSize. terabytes(long count)
Constructs a newDataSize
object representing the specified amount of terabytes.Methods in io.dropwizard.util with parameters of type DataSize Modifier and Type Method Description int
DataSize. compareTo(DataSize other)
-
Uses of DataSize in io.dropwizard.validation
Methods in io.dropwizard.validation with parameters of type DataSize Modifier and Type Method Description boolean
MaxDataSizeValidator. isValid(DataSize value, jakarta.validation.ConstraintValidatorContext context)
boolean
MinDataSizeValidator. isValid(DataSize value, jakarta.validation.ConstraintValidatorContext context)
-