Interface Publisher<ResponseT> (1.13.2)

public interface Publisher<ResponseT> extends ApiService, Flushable

A generic PubSub Lite publisher. Errors are handled out of band. Thread safe.

Implements

ApiService, Flushable

Type Parameter

NameDescription
ResponseT

Methods

cancelOutstandingPublishes()

public abstract void cancelOutstandingPublishes()

publish(PubSubMessage message)

public abstract ApiFuture<ResponseT> publish(PubSubMessage message)
Parameter
NameDescription
messagePubSubMessage
Returns
TypeDescription
ApiFuture<ResponseT>