Top Methods
io.reactivex.internal.util

public Interface QueueDrain<T, U>

Known Direct Implementers
io.reactivex.internal.subscribers.QueueDrainSubscriber
Imports
org.reactivestreams.Subscriber

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the value was delivered
accept
(Subscriber<? super U>
the subscriber
a
,
T
the value
v
)

Accept the value and return true if forwarded.

public boolean
public boolean
done()

public boolean
public Throwable
public int

Returns:

the current value after adding m
leave
(int
the value to add
m
)

Adds m to the wip counter.

public long
produced(long n)

public long

Method Detail

acceptback to summary
public boolean accept(Subscriber<? super U> a, T v)

Accept the value and return true if forwarded.

Parameters
a:Subscriber<? super U>

the subscriber

v:T

the value

Returns:boolean

true if the value was delivered

cancelledback to summary
public boolean cancelled()
doneback to summary
public boolean done()
enterback to summary
public boolean enter()
errorback to summary
public Throwable error()
leaveback to summary
public int leave(int m)

Adds m to the wip counter.

Parameters
m:int

the value to add

Returns:int

the current value after adding m

producedback to summary
public long produced(long n)
requestedback to summary
public long requested()