Class ReservoirCell


  • class ReservoirCell
    extends java.lang.Object
    A Reservoir cell pre-allocated memories for Exemplar data.

    We only allocate new objects during collection. This class should NOT cause allocations during sampling or within the synchronous metric hot-path.

    Allocations are acceptable in the getAndResetDouble(Attributes) and getAndResetLong(Attributes) collection methods.