Interface Publisher<ResponseT>
-
- All Superinterfaces:
com.google.api.core.ApiService
,Flushable
- All Known Implementing Classes:
ApiExceptionPublisher
,PartitionCountWatchingPublisher
,RoutingPublisher
,SequenceAssigningPublisher
,SinglePartitionPublisher
public interface Publisher<ResponseT> extends com.google.api.core.ApiService, Flushable
A generic PubSub Lite publisher. Errors are handled out of band. Thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelOutstandingPublishes()
com.google.api.core.ApiFuture<ResponseT>
publish(PubSubMessage message)
-
-
-
Method Detail
-
publish
com.google.api.core.ApiFuture<ResponseT> publish(PubSubMessage message)
-
cancelOutstandingPublishes
void cancelOutstandingPublishes()
-
-