public class PullFromSupplierTask extends AbstractTask
logger_
Modifier and Type | Method and Description |
---|---|
void |
doWork()
Override this Method in Subclasses to do the "real work".
|
void |
handleTaskError(AbstractTask task,
Exception error)
error handler method that will be invoked if an exception occurs during doWork.
|
void |
reset()
Reset the Object to an initial state.
|
void |
schedule() |
void |
setTarget(MessageSupplier target) |
checkInterrupt, getTaskExecutor, isRunnable, run, schedule, schedule, setTaskExecutor
dispose, setObjectPool
public void setTarget(MessageSupplier target)
public void doWork() throws Disconnected
AbstractTask
doWork
in class AbstractTask
Disconnected
public void reset()
AbstractPoolable
reset
in class AbstractPoolable
public void handleTaskError(AbstractTask task, Exception error)
AbstractTask
task
- the task that caused the error.error
- the exception that was thrown.public void schedule()
Copyright © 2016 JacORB. All rights reserved.