Class FlowControlProvider
java.lang.Object
com.adaptris.google.cloud.pubsub.flowcontrol.FlowControlProvider
- All Implemented Interfaces:
ComponentLifecycle
- Direct Known Subclasses:
DefaultFlowControlProvider
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FlowControlProvider
public FlowControlProvider()
-
-
Method Details
-
apply
public abstract void apply(com.google.cloud.pubsub.v1.Subscriber.Builder subscriberBuilder) -
init
- Specified by:
init
in interfaceComponentLifecycle
- Throws:
CoreException
-
start
- Specified by:
start
in interfaceComponentLifecycle
- Throws:
CoreException
-
stop
public void stop()- Specified by:
stop
in interfaceComponentLifecycle
-
close
public void close()- Specified by:
close
in interfaceComponentLifecycle
-