| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | OperatorDebounceWithTime.DebounceState<
the value type T>Tracks the last value to be emitted and manages completion. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Scheduler | |
| pack-priv final long | |
| pack-priv final TimeUnit |
| Access | Constructor and Description |
|---|---|
| public | OperatorDebounceWithTime(long
How long each event has to be the 'last event' before it gets published. timeout, TimeUnit The unit of time for the specified timeout. unit, Scheduler The scheduler)Scheduler to use internally to manage the timers which handle timeout for each event.
|
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| timeout | back to summary |
|---|---|
| pack-priv final long timeout | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| OperatorDebounceWithTime | back to summary |
|---|---|
| public OperatorDebounceWithTime(long timeout, TimeUnit unit, Scheduler scheduler) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | emitting
Guarded by this. |
| pack-priv boolean | hasValue
Guarded by this. |
| pack-priv int | index
Guarded by this. |
| pack-priv boolean | terminate
Guarded by this. |
| pack-priv T | value
Guarded by this. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public void | |
| public void | |
| public synchronized int |
| emitting | back to summary |
|---|---|
| pack-priv boolean emitting Guarded by this. | |
| hasValue | back to summary |
|---|---|
| pack-priv boolean hasValue Guarded by this. | |
| index | back to summary |
|---|---|
| pack-priv int index Guarded by this. | |
| terminate | back to summary |
|---|---|
| pack-priv boolean terminate Guarded by this. | |
| value | back to summary |
|---|---|
| pack-priv T value Guarded by this. | |
| DebounceState | back to summary |
|---|---|
| pack-priv DebounceState() | |
| clear | back to summary |
|---|---|
| public synchronized void clear() | |
| emit | back to summary |
|---|---|
| public void emit(int index, Subscriber<T> onNextAndComplete, Subscriber<?> onError) | |
| emitAndComplete | back to summary |
|---|---|
| public void emitAndComplete(Subscriber<T> onNextAndComplete, Subscriber<?> onError) | |
| next | back to summary |
|---|---|
| public synchronized int next(T value) | |