public class SinglePartitionPublisher extends ProxyService implements Publisher<PublishMetadata>
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
protected void |
handlePermanentError(io.grpc.StatusException error) |
com.google.api.core.ApiFuture<PublishMetadata> |
publish(Message message) |
protected void |
start() |
protected void |
stop() |
addServices, addServices, doStart, doStop, onPermanentErroraddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncprotected void start()
start in class ProxyServiceprotected void stop()
stop in class ProxyServiceprotected void handlePermanentError(io.grpc.StatusException error)
handlePermanentError in class ProxyServicepublic com.google.api.core.ApiFuture<PublishMetadata> publish(Message message)
publish in interface Publisher<PublishMetadata>public void flush()
throws IOException
flush in interface FlushableIOExceptionCopyright © 2020 Google LLC. All rights reserved.