public static interface RestrictionTracker.HasProgress
RestrictionTrackers SHOULD implement this interface to improve auto-scaling and
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 bytes that have processed and the number of
messages or number of
message bytes that 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.