public class LateralCacheMonitor extends Object implements Runnable
Constructor and Description |
---|
LateralCacheMonitor(ILateralCacheManager manager)
Constructor for the LateralCacheMonitor object
|
Modifier and Type | Method and Description |
---|---|
protected static void |
forceShortIdlePeriod(long idlePeriod)
Allows close classes, ie testers to set the idle period to something testable.
|
void |
notifyError()
Notifies the cache monitor that an error occurred, and kicks off the error recovery process.
|
void |
notifyShutdown()
Notifies the cache monitor that the service shall shut down
|
void |
run()
Main processing method for the LateralCacheMonitor object
|
static void |
setIdlePeriod(long idlePeriod)
Configures the idle period between repairs.
|
public LateralCacheMonitor(ILateralCacheManager manager)
It's the clients responsibility to decide how many of these there will be.
manager
- public static void setIdlePeriod(long idlePeriod)
idlePeriod
- The new idlePeriod valueprotected static void forceShortIdlePeriod(long idlePeriod)
idlePeriod
- public void notifyError()
public void notifyShutdown()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.