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, setTaskExecutordispose, setObjectPoolpublic void setTarget(MessageSupplier target)
public void doWork()
throws Disconnected
AbstractTaskdoWork in class AbstractTaskDisconnectedpublic void reset()
AbstractPoolablereset in class AbstractPoolablepublic void handleTaskError(AbstractTask task, Exception error)
AbstractTasktask - the task that caused the error.error - the exception that was thrown.public void schedule()
Copyright © 2015 JacORB. All rights reserved.