public static interface RestrictionTracker.HasProgress
RestrictionTrackers SHOULD implement this interface to improve auto-scaling and splitting performance.
|Modifier and Type||Method and Description|
A representation for the amount of known completed and known remaining work.
It is up to each restriction tracker to convert between their natural representation of
completed and remaining work and the
double representation. For example:
message bytesthat have processed and the number of messages or number of
message bytesthat are outstanding.
The work completed and work remaining must be of the same scale whether that be number of messages or number of bytes and should never represent two distinct unit types.