Package com.linkedin.venice.pushmonitor
Class RouterBasedHybridStoreQuotaMonitor
- java.lang.Object
-
- com.linkedin.venice.pushmonitor.RouterBasedHybridStoreQuotaMonitor
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class RouterBasedHybridStoreQuotaMonitor extends java.lang.Object implements java.io.Closeable
This push monitor is able to query hybrid store quota status from routers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask
static interface
RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider
-
Constructor Summary
Constructors Constructor Description RouterBasedHybridStoreQuotaMonitor(TransportClient transportClient, java.lang.String storeName, Version.PushType pushType, java.lang.String topicName, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
HybridStoreQuotaStatus
getCurrentStatus()
protected RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask
getHybridQuotaMonitorTask()
void
setCurrentStatus(HybridStoreQuotaStatus currentStatus)
void
start()
-
-
-
Constructor Detail
-
RouterBasedHybridStoreQuotaMonitor
public RouterBasedHybridStoreQuotaMonitor(TransportClient transportClient, java.lang.String storeName, Version.PushType pushType, java.lang.String topicName, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider)
-
-
Method Detail
-
start
public void start()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
getHybridQuotaMonitorTask
protected RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask getHybridQuotaMonitorTask()
-
setCurrentStatus
public void setCurrentStatus(HybridStoreQuotaStatus currentStatus)
-
getCurrentStatus
public HybridStoreQuotaStatus getCurrentStatus()
-
-