Package com.linkedin.venice.heartbeat
Interface PushJobHeartbeatSender
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
NoOpPushJobHeartbeatSender
This interface provides methods to send push job heartbeats
-
Method Summary
Modifier and TypeMethodDescriptionGet first exception encountered while it is sending heartbeats.void
void
stop()
-
Method Details
-
getHeartbeatSendInterval
Duration getHeartbeatSendInterval() -
getHeartbeatInitialDelay
Duration getHeartbeatInitialDelay() -
start
-
stop
void stop() -
getFirstSendHeartbeatException
Get first exception encountered while it is sending heartbeats. If there are multiple exceptions encountered during the process of sending heartbeats, only the first one is recorded and returned here.- Returns:
- Empty optional if no exception
-