public interface WorkUnitWeighter
WorkUnits to use by a WorkUnitBinPacker.
The weight is used by a bin packing algorithm to organize WorkUnits into MultiWorkUnits
with a bounded total weight. The weighter must have the following properties:
| Modifier and Type | Method and Description |
|---|---|
long |
weight(WorkUnit workUnit)
The weight of this work unit.
|
long weight(WorkUnit workUnit)