Package com.linkedin.venice.pushmonitor
Class RouterBasedPushMonitor
java.lang.Object
com.linkedin.venice.pushmonitor.RouterBasedPushMonitor
- All Implemented Interfaces:
Closeable
,AutoCloseable
This push monitor is able to query push job status from routers; it only works for
stores running in Leader/Follower mode and it will be built for STREAM_REPROCESSING job.
-
Constructor Summary
ConstructorDescriptionRouterBasedPushMonitor
(TransportClient d2TransportClient, String resourceName, VeniceSystemFactory factory, org.apache.samza.system.SystemProducer producer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
setCurrentStatus
(ExecutionStatus currentStatus) void
setStreamReprocessingExitMode
(SamzaExitMode exitMode) void
start()
-
Constructor Details
-
RouterBasedPushMonitor
public RouterBasedPushMonitor(TransportClient d2TransportClient, String resourceName, VeniceSystemFactory factory, org.apache.samza.system.SystemProducer producer)
-
-
Method Details
-
start
public void start() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
setCurrentStatus
-
getCurrentStatus
-
setStreamReprocessingExitMode
-