Package | Description |
---|---|
org.apache.sling.event.impl.jobs | |
org.apache.sling.event.impl.jobs.tasks | |
org.apache.sling.event.jobs.consumer |
Modifier and Type | Class and Description |
---|---|
class |
JobExecutionResultImpl
The job execution result.
|
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
HistoryCleanUpTask.process(Job job,
JobExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
JobExecutionContext.ResultBuilder.cancelled()
The job processing failed permanently.
|
JobExecutionResult |
JobExecutionContext.ResultBuilder.failed()
The job processing failed and might be retried.
|
JobExecutionResult |
JobExecutionContext.ResultBuilder.failed(long retryDelayInMs)
The job processing failed and might be retried.
|
JobExecutionResult |
JobExecutor.process(Job job,
JobExecutionContext context)
Execute the job.
|
JobExecutionResult |
JobExecutionContext.ResultBuilder.succeeded()
The job processing finished successfully.
|
Modifier and Type | Method and Description |
---|---|
void |
JobExecutionContext.asyncProcessingFinished(JobExecutionResult result)
Report an async result.
|
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.