count items emitted by the source Observable.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long | |
| pack-priv final int | |
| pack-priv final Scheduler |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber |
| ageMillis | back to summary |
|---|---|
| pack-priv final long ageMillis | |
| count | back to summary |
|---|---|
| pack-priv final int count | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| OperatorTakeLastTimed | back to summary |
|---|---|
| public OperatorTakeLastTimed(long time, TimeUnit unit, Scheduler scheduler) | |
| OperatorTakeLastTimed | back to summary |
|---|---|
| public OperatorTakeLastTimed(int count, long time, TimeUnit unit, Scheduler scheduler) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Subscriber | |
| pack-priv final long | |
| pack-priv final int | |
| pack-priv final ArrayDeque | |
| pack-priv final ArrayDeque | |
| pack-priv final AtomicLong | |
| pack-priv final Scheduler |
| Access | Constructor and Description |
|---|---|
| public | TakeLastTimedSubscriber(Subscriber<? super T> actual, int count, long ageMillis, Scheduler scheduler)
|
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| protected void | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| pack-priv void |
| actual | back to summary |
|---|---|
| pack-priv final Subscriber<? super T> actual | |
| ageMillis | back to summary |
|---|---|
| pack-priv final long ageMillis | |
| count | back to summary |
|---|---|
| pack-priv final int count | |
| queue | back to summary |
|---|---|
| pack-priv final ArrayDeque<Object> queue | |
| queueTimes | back to summary |
|---|---|
| pack-priv final ArrayDeque<Long> queueTimes | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested Hides rx. | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| TakeLastTimedSubscriber | back to summary |
|---|---|
| public TakeLastTimedSubscriber(Subscriber<? super T> actual, int count, long ageMillis, Scheduler scheduler) | |
| call | back to summary |
|---|---|
| public T call(Object t) Implements rx.
| |
| evictOld | back to summary |
|---|---|
| protected void evictOld(long now) | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| requestMore | back to summary |
|---|---|
| pack-priv void requestMore(long n) | |