public class PartitionCountWatchingPublisher extends ProxyService implements Publisher<MessageMetadata>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelOutstandingPublishes() |
void |
flush() |
protected void |
handlePermanentError(CheckedApiException error) |
com.google.api.core.ApiFuture<MessageMetadata> |
publish(Message message) |
protected void |
stop() |
addServices, addServices, doStart, doStop, onPermanentError, startaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncpublic com.google.api.core.ApiFuture<MessageMetadata> publish(Message message)
publish in interface Publisher<MessageMetadata>public void cancelOutstandingPublishes()
cancelOutstandingPublishes in interface Publisher<MessageMetadata>public void flush()
throws IOException
flush in interface FlushableIOExceptionprotected void stop()
stop in class ProxyServiceprotected void handlePermanentError(CheckedApiException error)
handlePermanentError in class ProxyServiceCopyright © 2021 Google LLC. All rights reserved.