|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crmclient.service.queue.DatabaseQueue
public class DatabaseQueue
DatabaseQueue
Field Summary |
---|
Fields inherited from interface fr.paris.lutece.plugins.crmclient.service.queue.ICRMClientQueue |
---|
BEAN_SERVICE |
Constructor Summary | |
---|---|
DatabaseQueue()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseQueue()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |