Class TimedBuffer.EntitySum<S>

java.lang.Object
org.apache.nifi.util.timebuffer.TimedBuffer.EntitySum<S>
Enclosing class:
TimedBuffer<T>

private static class TimedBuffer.EntitySum<S> extends Object
  • Field Details

    • entityAccess

      private final EntityAccess<S> entityAccess
    • ref

      private final AtomicReference<S> ref
    • binPrecision

      private final TimeUnit binPrecision
    • numConfiguredBins

      private final int numConfiguredBins
    • currentTimeSupplier

      private final LongSupplier currentTimeSupplier
  • Constructor Details

  • Method Details

    • add

      private S add(S event)
    • getValue

      public S getValue()
    • isExpired

      public boolean isExpired()
    • addOrReset

      public S addOrReset(S event)