@Deprecated public interface JobStatusNotifier
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_PROPERTY_NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
finishedJob(boolean reschedule)
Deprecated.
Notify that the job is finished.
|
boolean |
getAcknowledge(JobProcessor processor)
Deprecated.
Notify the job handling that the job has been ack'ed.
|
static final String CONTEXT_PROPERTY_NAME
boolean getAcknowledge(JobProcessor processor)
finishedJob(boolean)
needs to be called by the caller of this method.processor
- The job processor.true
if the ack is ok, false
otherwise (e.g. if
someone else already send an ack for this job.boolean finishedJob(boolean reschedule)
false
indicates an error
during the processing. If the job should be rescheduled, true
indicates
that the job could be rescheduled. If an error occurs or the number of retries is
exceeded, false
will be returned.reschedule
- Should the event be rescheduled?true
if everything went fine, false
otherwise.Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.