Top Description Fields Constructors Methods
rx.internal.operators

public final Class OperatorThrottleFirst<T>

extends Object
implements Observable.Operator<T, T>
Class Inheritance
All Implemented Interfaces
rx.Observable.Operator, rx.functions.Func1, rx.functions.Function
Type Parameters
<T>
the value type
Imports
java.util.concurrent.TimeUnit, rx.*, .Observable.Operator

Throttle by windowing a stream and returning the first value in each window.

Field Summary

Modifier and TypeField and Description
pack-priv final Scheduler
pack-priv final long

Constructor Summary

AccessConstructor and Description
public
OperatorThrottleFirst(long windowDuration, TimeUnit unit, Scheduler scheduler)

Method Summary

Modifier and TypeMethod and Description
public Subscriber<? super T>
call(final Subscriber<? super T> subscriber)

Implements rx.functions.Func1.call.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

schedulerback to summary
pack-priv final Scheduler scheduler
timeInMillisecondsback to summary
pack-priv final long timeInMilliseconds

Constructor Detail

OperatorThrottleFirstback to summary
public OperatorThrottleFirst(long windowDuration, TimeUnit unit, Scheduler scheduler)

Method Detail

callback to summary
public Subscriber<? super T> call(final Subscriber<? super T> subscriber)

Implements rx.functions.Func1.call.

Annotations
@Override