public class DatabaseQueue extends Object implements ICRMClientQueue
BEAN_SERVICE| Constructor and Description |
|---|
DatabaseQueue() |
| Modifier and Type | Method and Description |
|---|---|
ICRMItem |
consume()
Get a crm item from the list and remove it from the queue
|
CRMItemQueue |
getNextCRMItemQueue()
Return the first crm item in the queue
|
void |
send(ICRMItem crmItem)
Put a crm item into the list of the queue
|
int |
size()
Get the size of the queue
|
public void send(ICRMItem crmItem)
send in interface ICRMClientQueuecrmItem - The crm item to add to the queuepublic ICRMItem consume()
consume in interface ICRMClientQueuepublic int size()
size in interface ICRMClientQueuepublic CRMItemQueue getNextCRMItemQueue()
getNextCRMItemQueue in interface ICRMClientQueueCopyright © 2017 City of Paris. All rights reserved.