Interface Publisher<ResponseT> (1.13.5)

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

Name Description
ResponseT

Methods

cancelOutstandingPublishes()

public abstract void cancelOutstandingPublishes()

publish(PubSubMessage message)

public abstract ApiFuture<ResponseT> publish(PubSubMessage message)
Parameter
Name Description
message PubSubMessage
Returns
Type Description
ApiFuture<ResponseT>