Interface Publisher<ResponseT> (1.9.0)

Stay organized with collections Save and categorize content based on your preferences.
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>