public class SinglePartitionPublisher extends TrivialProxyService implements Publisher<MessageMetadata>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelOutstandingPublishes() |
void |
flush() |
com.google.api.core.ApiFuture<MessageMetadata> |
publish(Message message) |
handlePermanentError, start, stopaddServices, addServices, doStart, doStop, onPermanentErroraddListener, 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 FlushableIOExceptionCopyright © 2021 Google LLC. All rights reserved.