public static interface Sizes.HasSize
RestrictionTracker
s which can provide a size should implement this interface.
Implementations that do not implement this interface will be assumed to have an equivalent
size.Modifier and Type | Method and Description |
---|---|
double |
getSize()
A representation for the amount of known work represented as a size.
|
double getSize()
double
representations should preferably represent a linear space.
It is up to each restriction tracker to convert between their natural representation of outstanding work and this representation. For example:
message bytes
that have not been processed.