|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.localmatters.collector.queue.consumer.ConsumerBean
public class ConsumerBean
The collector consumer bean.
Constructor Summary | |
---|---|
ConsumerBean()
Creates a new instance of ConsumerBean. |
Method Summary | |
---|---|
java.lang.String |
retrieve()
Retrieves a message from the queue. |
java.lang.String |
retrieveImmediate()
Retrieves a message from the queue. |
java.lang.String |
retrieveTimed(long timeout)
Retrieves a message from the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumerBean()
Method Detail |
---|
public java.lang.String retrieve() throws CollectorQueueException
ConsumerService
retrieve
in interface ConsumerService
CollectorQueueException
public java.lang.String retrieveTimed(long timeout) throws CollectorQueueException
ConsumerService
retrieveTimed
in interface ConsumerService
timeout
- The message timeout period in milliseconds.
CollectorQueueException
public java.lang.String retrieveImmediate() throws CollectorQueueException
ConsumerService
retrieveImmediate
in interface ConsumerService
CollectorQueueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |