public interface HeartbeatPublisher
extends com.google.common.util.concurrent.Service
StreamWriterHeartbeats.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<StreamWriterHeartbeat> |
sendHeartbeat(StreamWriterHeartbeat heartbeat)
Publish one heartbeat.
|
com.google.common.util.concurrent.ListenableFuture<StreamWriterHeartbeat> sendHeartbeat(StreamWriterHeartbeat heartbeat)
heartbeat - heartbeat to publishListenableFuture describing the state of publishing. The Future.get() method
will return the published heartbeat.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.