Package com.linkedin.venice.pushmonitor
Class RouterBasedHybridStoreQuotaMonitor
java.lang.Object
com.linkedin.venice.pushmonitor.RouterBasedHybridStoreQuotaMonitor
- All Implemented Interfaces:
Closeable
,AutoCloseable
This push monitor is able to query hybrid store quota status from routers
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static interface
-
Constructor Summary
ConstructorDescriptionRouterBasedHybridStoreQuotaMonitor
(TransportClient transportClient, String storeName, Version.PushType pushType, String topicName, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
setCurrentStatus
(HybridStoreQuotaStatus currentStatus) void
start()
-
Constructor Details
-
RouterBasedHybridStoreQuotaMonitor
public RouterBasedHybridStoreQuotaMonitor(TransportClient transportClient, String storeName, Version.PushType pushType, String topicName, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider)
-
-
Method Details
-
start
public void start() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getHybridQuotaMonitorTask
-
setCurrentStatus
-
getCurrentStatus
-