@Deprecated public class JobStatusNotifierImpl extends Object implements JobStatusNotifier
CONTEXT_PROPERTY_NAME
Constructor and Description |
---|
JobStatusNotifierImpl()
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.
|
JobProcessor |
getProcessor()
Deprecated.
|
boolean |
isCalled()
Deprecated.
|
void |
markDone()
Deprecated.
|
void |
setJobExecutionContext(JobExecutionContext context)
Deprecated.
|
public boolean getAcknowledge(JobProcessor processor)
JobStatusNotifier
JobStatusNotifier.finishedJob(boolean)
needs to be called by the caller of this method.getAcknowledge
in interface JobStatusNotifier
processor
- The job processor.true
if the ack is ok, false
otherwise (e.g. if
someone else already send an ack for this job.public boolean finishedJob(boolean reschedule)
JobStatusNotifier
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.finishedJob
in interface JobStatusNotifier
reschedule
- Should the event be rescheduled?true
if everything went fine, false
otherwise.public void markDone()
public boolean isCalled()
public JobProcessor getProcessor()
public void setJobExecutionContext(JobExecutionContext context)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.