Interface Publisher<ResponseT> (1.6.3)

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(Message message)

public abstract ApiFuture<ResponseT> publish(Message message)
Parameter
NameDescription
messageMessage
Returns
TypeDescription
ApiFuture<ResponseT>