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
Nested ClassesModifier and TypeClassDescriptionprotected static classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionRouterBasedHybridStoreQuotaMonitor(TransportClient transportClient, String storeName, Version.PushType pushType, String topicName, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidsetCurrentStatus(HybridStoreQuotaStatus currentStatus) voidstart()
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getHybridQuotaMonitorTask
-
setCurrentStatus
-
getCurrentStatus
-