public class ZeroRequestStrategy$ extends java.lang.Object implements RequestStrategy, scala.Product, scala.Serializable
ActorSubscriber.request(long).| Modifier and Type | Field and Description |
|---|---|
static ZeroRequestStrategy$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
ZeroRequestStrategy$() |
| Modifier and Type | Method and Description |
|---|---|
ZeroRequestStrategy$ |
getInstance()
Java API: get the singleton instance
|
int |
requestDemand(int remainingRequested)
Invoked by the
ActorSubscriber after each incoming message to
determine how many more elements to request from the stream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final ZeroRequestStrategy$ MODULE$
public int requestDemand(int remainingRequested)
RequestStrategyActorSubscriber after each incoming message to
determine how many more elements to request from the stream.
requestDemand in interface RequestStrategyremainingRequested - current remaining number of elements that
have been requested from upstream but not received yetpublic ZeroRequestStrategy$ getInstance()