Interface Publisher<ResponseT>
- All Superinterfaces:
com.google.api.core.ApiService,Flushable
- All Known Implementing Classes:
ApiExceptionPublisher,PartitionCountWatchingPublisher,RoutingPublisher,SequenceAssigningPublisher,SinglePartitionPublisher
A generic PubSub Lite publisher. Errors are handled out of band. Thread safe.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.api.core.ApiService
com.google.api.core.ApiService.Listener, com.google.api.core.ApiService.State -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.google.api.core.ApiFuture<ResponseT>publish(PubSubMessage message) Methods inherited from interface com.google.api.core.ApiService
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Method Details
-
publish
-
cancelOutstandingPublishes
void cancelOutstandingPublishes()
-