| |
|
| java.lang.Object java.util.TimerTask org.mule.util.monitor.ExpiryMonitor
ExpiryMonitor | public class ExpiryMonitor extends TimerTask implements Disposable(Code) | | ExpiryMonitor can monitor objects beased on an expiry time and can
invoke a callback method once the object time has expired. If the object does
expire it is removed from this monitor.
|
Field Summary | |
final protected static Log | logger |
logger | final protected static Log logger(Code) | | logger used by this class
|
ExpiryMonitor | public ExpiryMonitor()(Code) | | |
ExpiryMonitor | public ExpiryMonitor(long monitorFrequency)(Code) | | |
addExpirable | public void addExpirable(long milliseconds, Expirable expirable)(Code) | | Adds an expirable object to monitor. If the Object is already being monitored
it will be reset and the millisecond timeout will be ignored
Parameters: milliseconds - Parameters: expirable - |
dispose | public void dispose()(Code) | | |
run | public void run()(Code) | | The action to be performed by this timer task.
|
|
|
|