Uses of Class
io.opentelemetry.sdk.metrics.internal.exemplar.ReservoirCell
-
Packages that use ReservoirCell Package Description io.opentelemetry.sdk.metrics.internal.exemplar Metric exemplar extension points. -
-
Uses of ReservoirCell in io.opentelemetry.sdk.metrics.internal.exemplar
Fields in io.opentelemetry.sdk.metrics.internal.exemplar declared as ReservoirCell Modifier and Type Field Description private ReservoirCell[]
FixedSizeExemplarReservoir. storage
Fields in io.opentelemetry.sdk.metrics.internal.exemplar with type parameters of type ReservoirCell Modifier and Type Field Description private java.util.function.BiFunction<ReservoirCell,Attributes,T>
FixedSizeExemplarReservoir. mapAndResetCell
Methods in io.opentelemetry.sdk.metrics.internal.exemplar with parameters of type ReservoirCell Modifier and Type Method Description private int
RandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndex(ReservoirCell[] cells)
int
HistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
int
HistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
int
RandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
int
RandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
int
ReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
Determine the index of thecells
to record the measurement to.int
ReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
Determine the index of thecells
to record the measurement to.Constructor parameters in io.opentelemetry.sdk.metrics.internal.exemplar with type arguments of type ReservoirCell Constructor Description FixedSizeExemplarReservoir(Clock clock, int size, ReservoirCellSelector reservoirCellSelector, java.util.function.BiFunction<ReservoirCell,Attributes,T> mapAndResetCell)
Instantiates an exemplar reservoir of fixed size.RandomFixedSizeExemplarReservoir(Clock clock, int size, java.util.function.Supplier<java.util.Random> randomSupplier, java.util.function.BiFunction<ReservoirCell,Attributes,T> mapAndResetCell)
-