public static final class DataRateSpec.LongBytesPerSecondBound extends DataRateSpec
DataRateSpec.DataRateUnit, DataRateSpec.LongBytesPerSecondBound
Constructor and Description |
---|
LongBytesPerSecondBound(long bytesPerSecond)
Creates a
DataRateSpec.LongBytesPerSecondBound of the specified amount in bytes per second. |
LongBytesPerSecondBound(long quantity,
DataRateSpec.DataRateUnit unit)
Creates a
DataRateSpec.LongBytesPerSecondBound of the specified amount in the specified unit. |
LongBytesPerSecondBound(java.lang.String value)
Creates a
DataRateSpec.LongBytesPerSecondBound of the specified amount. |
Modifier and Type | Method and Description |
---|---|
static DataRateSpec.LongBytesPerSecondBound |
megabitsPerSecondInBytesPerSecond(long megabitsPerSecond)
Deprecated.
|
equals, hashCode, toBytesPerSecond, toBytesPerSecondAsInt, toKibibytesPerSecond, toKibibytesPerSecondAsInt, toMebibytesPerSecond, toMebibytesPerSecondAsInt, toMegabitsPerSecond, toMegabitsPerSecondAsInt, toString, unit
public LongBytesPerSecondBound(java.lang.String value)
DataRateSpec.LongBytesPerSecondBound
of the specified amount.value
- the data ratepublic LongBytesPerSecondBound(long quantity, DataRateSpec.DataRateUnit unit)
DataRateSpec.LongBytesPerSecondBound
of the specified amount in the specified unit.quantity
- where quantity shouldn't be bigger than Long.MAX_VALUE - 1 in bytes per secondunit
- in which the provided quantity ispublic LongBytesPerSecondBound(long bytesPerSecond)
DataRateSpec.LongBytesPerSecondBound
of the specified amount in bytes per second.bytesPerSecond
- where bytesPerSecond shouldn't be bigger than Long.MAX_VALUE@Deprecated public static DataRateSpec.LongBytesPerSecondBound megabitsPerSecondInBytesPerSecond(long megabitsPerSecond)
Copyright © 2009-2022 The Apache Software Foundation