O - Type of the outgoing heartbeat payloadpublic static interface HeartbeatMonitor.Factory<O>
HeartbeatMonitor.| Modifier and Type | Method and Description |
|---|---|
HeartbeatMonitor<O> |
createHeartbeatMonitor(ResourceID resourceID,
HeartbeatTarget<O> heartbeatTarget,
ScheduledExecutor mainThreadExecutor,
HeartbeatListener<?,O> heartbeatListener,
long heartbeatTimeoutIntervalMs)
Create heartbeat monitor heartbeat monitor.
|
HeartbeatMonitor<O> createHeartbeatMonitor(ResourceID resourceID, HeartbeatTarget<O> heartbeatTarget, ScheduledExecutor mainThreadExecutor, HeartbeatListener<?,O> heartbeatListener, long heartbeatTimeoutIntervalMs)
resourceID - the resource idheartbeatTarget - the heartbeat targetmainThreadExecutor - the main thread executorheartbeatListener - the heartbeat listenerheartbeatTimeoutIntervalMs - the heartbeat timeout interval msCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.