Class ReplaySubject.UnboundedReplayBuffer<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<java.lang.Object> buffer  
      (package private) boolean done  
      private static long serialVersionUID  
      (package private) int size  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(T value)  
      void addFinal​(java.lang.Object notificationLite)  
      T getValue()  
      T[] getValues​(T[] array)  
      void replay​(ReplaySubject.ReplayDisposable<T> rs)  
      int size()  
      void trimHead()
      Make sure an old inaccessible head value is released in a bounded buffer.
      • 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