public class DefaultHistoryExpirationMonitor extends Object implements HistoryExpirationMonitor, Runnable
HistoryExpirationMonitor
This implementation is based on one single thread which runs on a given frequency.| Constructor and Description |
|---|
DefaultHistoryExpirationMonitor(BatchEngine batchEngine,
BatchJobInstanceStore store,
long frequency,
TimeUnit timeUnit,
org.mule.runtime.core.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginMonitoring()
Begins monitoring and disposal of historic
job instances |
void |
run() |
void |
stopMonitoring()
Shutdowns the scheduler that executes the expiration tasks.
|
String |
toString() |
public DefaultHistoryExpirationMonitor(BatchEngine batchEngine, BatchJobInstanceStore store, long frequency, TimeUnit timeUnit, org.mule.runtime.core.api.MuleContext muleContext)
public void beginMonitoring()
HistoryExpirationMonitorjob instancesbeginMonitoring in interface HistoryExpirationMonitorpublic void stopMonitoring()
MuleException if it could not be stoppedstopMonitoring in interface HistoryExpirationMonitorCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.