Interface ReservoirCellSelector
-
- All Known Implementing Classes:
HistogramExemplarReservoir.HistogramCellSelector,RandomFixedSizeExemplarReservoir.RandomCellSelector
interface ReservoirCellSelectorSelects whichFixedSizeExemplarReservoirReservoirCellreceives measurements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intreservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)Determine the index of thecellsto record the measurement to.intreservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)Determine the index of thecellsto record the measurement to.voidreset()
-
-
-
Method Detail
-
reservoirCellIndexFor
int reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
Determine the index of thecellsto record the measurement to.
-
reservoirCellIndexFor
int reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
Determine the index of thecellsto record the measurement to.
-
reset
void reset()
-
-