Class BufferingPullSubscriber
java.lang.Object
com.google.cloud.pubsublite.internal.BufferingPullSubscriber
- All Implemented Interfaces:
PullSubscriber<SequencedMessage>,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionBufferingPullSubscriber(SubscriberFactory factory, FlowControlSettings settings) -
Method Summary
-
Constructor Details
-
BufferingPullSubscriber
public BufferingPullSubscriber(SubscriberFactory factory, FlowControlSettings settings) throws CheckedApiException - Throws:
CheckedApiException
-
-
Method Details
-
pull
- Specified by:
pullin interfacePullSubscriber<SequencedMessage>- Throws:
CheckedApiException
-
nextOffset
- Specified by:
nextOffsetin interfacePullSubscriber<SequencedMessage>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-