public abstract class AbstractMessageTask extends AbstractTask
logger_| Constructor and Description |
|---|
AbstractMessageTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInterrupt() |
Message |
copyMessage() |
void |
dispose()
The call to this Method indicates that this Object is not needed by the user anymore.
|
protected Message |
getMessage() |
protected boolean |
isRunnable() |
Message |
removeMessage() |
void |
reset()
Reset the Object to an initial state.
|
void |
setMessage(Message message)
set the Message for this Task to use.
|
doWork, getTaskExecutor, run, schedule, schedule, setTaskExecutorsetObjectPoolclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitschedulepublic void setMessage(Message message)
public Message removeMessage()
public Message copyMessage()
protected boolean isRunnable()
isRunnable in class AbstractTaskprotected void checkInterrupt()
throws InterruptedException
checkInterrupt in class AbstractTaskInterruptedExceptionprotected Message getMessage()
public void dispose()
AbstractPoolabledispose the Object can be returned to its ObjectPool. It's forbidden
to use the Object after release has been called as this may cause unexpected behaviour.dispose in interface org.picocontainer.Disposabledispose in class AbstractPoolablepublic void reset()
AbstractPoolablereset in class AbstractPoolableCopyright © 2015 JacORB. All rights reserved.