Package graphql.execution.reactive
Class DelegatingSubscription
- java.lang.Object
-
- graphql.execution.reactive.DelegatingSubscription
-
- All Implemented Interfaces:
org.reactivestreams.Subscription
@PublicApi public class DelegatingSubscription extends java.lang.Object implements org.reactivestreams.Subscription
A simple subscription that delegates to another
-
-
Constructor Summary
Constructors Constructor Description DelegatingSubscription(org.reactivestreams.Subscription upstreamSubscription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
org.reactivestreams.Subscription
getUpstreamSubscription()
Get instance of upstreamSubscriptionvoid
request(long n)
-
-
-
Method Detail
-
request
public void request(long n)
- Specified by:
request
in interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()
- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
-
getUpstreamSubscription
public org.reactivestreams.Subscription getUpstreamSubscription()
Get instance of upstreamSubscription- Returns:
Subscription
-
-