Package com.linkedin.venice.pushmonitor
Class RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask
- java.lang.Object
-
- com.linkedin.venice.pushmonitor.RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Runnable
- Enclosing class:
- RouterBasedHybridStoreQuotaMonitor
protected static class RouterBasedHybridStoreQuotaMonitor.HybridQuotaMonitorTask extends java.lang.Object implements java.lang.Runnable, java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description HybridQuotaMonitorTask(TransportClient transportClient, java.lang.String storeName, java.lang.String requestPath, RouterBasedHybridStoreQuotaMonitor hybridStoreQuotaMonitorService, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkStatus()
void
close()
void
run()
protected void
setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Constructor Detail
-
HybridQuotaMonitorTask
public HybridQuotaMonitorTask(TransportClient transportClient, java.lang.String storeName, java.lang.String requestPath, RouterBasedHybridStoreQuotaMonitor hybridStoreQuotaMonitorService, RouterBasedHybridStoreQuotaMonitor.TransportClientReinitProvider reinitProvider)
-
-
Method Detail
-
setMapper
protected void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
checkStatus
protected void checkStatus() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException, java.io.IOException
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
java.io.IOException
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-