createHeartbeatMonitor
HeartbeatMonitor<O> createHeartbeatMonitor(ResourceID resourceID,
HeartbeatTarget<O> heartbeatTarget,
org.apache.flink.util.concurrent.ScheduledExecutor mainThreadExecutor,
HeartbeatListener<?,O> heartbeatListener,
long heartbeatTimeoutIntervalMs,
int failedRpcRequestsUntilUnreachable)
Create heartbeat monitor heartbeat monitor.
- Parameters:
resourceID - the resource id
heartbeatTarget - the heartbeat target
mainThreadExecutor - the main thread executor
heartbeatListener - the heartbeat listener
heartbeatTimeoutIntervalMs - the heartbeat timeout interval ms
failedRpcRequestsUntilUnreachable - the number of failed heartbeat RPCs until the
target is marked as unreachable
- Returns:
- the heartbeat monitor