public static interface Sizes.HasSize
RestrictionTrackers 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 and be comparable within the same
 partition.
 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.
   DoFns should provide a method annotated with DoFn.GetPartition to report a
 partition identifier if the element and restriction represent the size for a shared resource
 such as a message queue topic. See DoFn.GetPartition for additional details.