java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class StateStoreCacheUpdateService extends PeriodicService
StateStoreService
cached information in the
Router.
This is for performance and removes the State Store from the critical path
in common operations.| Constructor | Description |
|---|---|
StateStoreCacheUpdateService(StateStoreService stateStore) |
Create a new Cache update service.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
periodicInvoke() |
Method that the service will run periodically.
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
getErrorCount, getIntervalMs, getLastUpdate, getRunCount, serviceStart, serviceStop, setIntervalMs, startPeriodic, stopPeriodicclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic StateStoreCacheUpdateService(StateStoreService stateStore)
stateStore - Implementation of the state storeprotected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic void periodicInvoke()
PeriodicServiceperiodicInvoke in class PeriodicServiceCopyright © 2008–2025 Apache Software Foundation. All rights reserved.