Package rx.subjects
Interface ReplaySubject.ReplayBuffer<T>
-
- Type Parameters:
T- the value type
- All Known Implementing Classes:
ReplaySubject.ReplaySizeAndTimeBoundBuffer,ReplaySubject.ReplaySizeBoundBuffer,ReplaySubject.ReplayUnboundedBuffer
- Enclosing class:
- ReplaySubject<T>
static interface ReplaySubject.ReplayBuffer<T>The base interface for buffering signals to be replayed to individual Subscribers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete()voiddrain(ReplaySubject.ReplayProducer<T> rp)java.lang.Throwableerror()voiderror(java.lang.Throwable e)booleanisComplete()booleanisEmpty()Tlast()voidnext(T t)intsize()T[]toArray(T[] a)
-
-
-
Method Detail
-
next
void next(T t)
-
error
void error(java.lang.Throwable e)
-
complete
void complete()
-
drain
void drain(ReplaySubject.ReplayProducer<T> rp)
-
isComplete
boolean isComplete()
-
error
java.lang.Throwable error()
-
last
T last()
-
size
int size()
-
isEmpty
boolean isEmpty()
-
-