|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerService
The collector consumer service interface.
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. |
Method Detail |
---|
java.lang.String retrieve() throws CollectorQueueException
com.localmatters.collector.queue.consumer.CollectorQueueException
- If there is an error in the collector queue.
CollectorQueueException
java.lang.String retrieveTimed(long timeout) throws CollectorQueueException
timeout
- The message timeout period in milliseconds.
com.localmatters.collector.queue.consumer.CollectorQueueException
- If there is an error in the collector queue.
CollectorQueueException
java.lang.String retrieveImmediate() throws CollectorQueueException
com.localmatters.collector.queue.consumer.CollectorQueueException
- If there is an error in the collector queue.
CollectorQueueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |