Package | Description |
---|---|
org.apache.sling.event.impl.jobs | |
org.apache.sling.event.impl.jobs.tasks |
Modifier and Type | Method and Description |
---|---|
JobExecutor |
JobConsumerManager.getExecutor(String topic)
Get the executor for the topic.
|
Modifier and Type | Method and Description |
---|---|
void |
JobConsumerManager.registerListener(String key,
JobExecutor consumer,
JobExecutionContext handler) |
Modifier and Type | Class and Description |
---|---|
class |
HistoryCleanUpTask
Task to clean up the history,
A clean up task can be configured with three properties:
- age : only jobs older than this amount of minutes are removed (default is two days)
- topic : only jobs with this topic are removed (default is no topic, meaning all jobs are removed)
The value should either be a string or an array of string
- state : only jobs in this state are removed (default is no state, meaning all jobs are removed)
The value should either be a string or an array of string.
|
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.