Package com.linkedin.venice.heartbeat
Class NoOpPushJobHeartbeatSender
java.lang.Object
com.linkedin.venice.heartbeat.NoOpPushJobHeartbeatSender
- All Implemented Interfaces:
PushJobHeartbeatSender,Runnable
-
Constructor Details
-
NoOpPushJobHeartbeatSender
public NoOpPushJobHeartbeatSender()
-
-
Method Details
-
getHeartbeatSendInterval
- Specified by:
getHeartbeatSendIntervalin interfacePushJobHeartbeatSender
-
getHeartbeatInitialDelay
- Specified by:
getHeartbeatInitialDelayin interfacePushJobHeartbeatSender
-
start
- Specified by:
startin interfacePushJobHeartbeatSender
-
stop
public void stop()- Specified by:
stopin interfacePushJobHeartbeatSender
-
run
public void run() -
getFirstSendHeartbeatException
Description copied from interface:PushJobHeartbeatSenderGet 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.- Specified by:
getFirstSendHeartbeatExceptionin interfacePushJobHeartbeatSender- Returns:
- Empty optional if no exception
-