com.croftsoft.core.util.queue
Class QueuePuller
java.lang.Object
com.croftsoft.core.util.queue.QueuePuller
- All Implemented Interfaces:
- Commissionable, Destroyable, Initializable, Lifecycle, Resumable, Startable, Stoppable
public final class QueuePuller
- extends Object
- implements Lifecycle
Pulls objects out of the queue in a separate thread.
- Since:
- 1998-11-23
- Version:
- 2003-05-27
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueuePuller
public QueuePuller(Queue queue,
Consumer consumer)
init
public void init()
- Specified by:
init
in interface Initializable
start
public void start()
- Specified by:
start
in interface Startable
stop
public void stop()
- Specified by:
stop
in interface Stoppable
destroy
public void destroy()
- Specified by:
destroy
in interface Destroyable
append
public boolean append(Object o)
replace
public Object replace(Object o)
CroftSoft Core Javadoc (2008-09-28 20:58:02)