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 ICRMClientQueue
crmItem
- The crm item to add to the queuepublic ICRMItem consume()
consume
in interface ICRMClientQueue
public int size()
size
in interface ICRMClientQueue
public CRMItemQueue getNextCRMItemQueue()
getNextCRMItemQueue
in interface ICRMClientQueue
Copyright © 2014 Mairie de Paris. All rights reserved.