java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class StateStoreConnectionMonitorService extends PeriodicService
StateStoreService data store and to re-open the connection
to the data store if required.| Constructor | Description |
|---|---|
StateStoreConnectionMonitorService(StateStoreService store) |
Create a new service to monitor the connectivity of the state store driver.
|
| 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 StateStoreConnectionMonitorService(StateStoreService store)
store - Instance of the state store to be monitored.protected 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.