Class ObservableReplay.SizeAndTimeBoundReplayBuffer<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      SizeAndTimeBoundReplayBuffer​(int limit, long maxAge, java.util.concurrent.TimeUnit unit, Scheduler scheduler, boolean eagerTruncate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Object enterTransform​(java.lang.Object value)
      Override this to wrap the NotificationLite object into a container to be used later by truncate.
      (package private) ObservableReplay.Node getHead()  
      (package private) java.lang.Object leaveTransform​(java.lang.Object value)
      Override this to unwrap the transformed value into a NotificationLite object.
      (package private) void truncate()
      Override this method to truncate a non-terminated buffer based on its current properties.
      (package private) void truncateFinal()
      Override this method to truncate a terminated buffer based on its properties (i.e., truncate but the very last node).
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait