public class SubscriptionQueryBackpressure extends Object
FluxSink.OverflowStrategy
to express
the type of backpressure.Constructor and Description |
---|
SubscriptionQueryBackpressure(reactor.core.publisher.FluxSink.OverflowStrategy overflowStrategy)
Initializes backpressure with reactor's overflow strategy.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionQueryBackpressure |
defaultBackpressure()
Creates default backpressure -
FluxSink.OverflowStrategy#ERROR . |
reactor.core.publisher.FluxSink.OverflowStrategy |
getOverflowStrategy()
Gets the overflow strategy.
|
public SubscriptionQueryBackpressure(reactor.core.publisher.FluxSink.OverflowStrategy overflowStrategy)
overflowStrategy
- For backpressure handlingpublic static SubscriptionQueryBackpressure defaultBackpressure()
FluxSink.OverflowStrategy#ERROR
.FluxSink.OverflowStrategy#ERROR
public reactor.core.publisher.FluxSink.OverflowStrategy getOverflowStrategy()
Copyright © 2010–2018. All rights reserved.