|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.mail.DatabaseQueue
public class DatabaseQueue
DatabaseQueue
Constructor Summary | |
---|---|
DatabaseQueue()
|
Method Summary | |
---|---|
MailItem |
consume()
Get a mail item from the database queue and remove it from the queue |
void |
send(MailItem item)
Put a mail item into the database queue |
int |
size()
get the DatabaseQueue size |
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(MailItem item)
send
in interface IMailQueue
item
- The mail item to add to the queuepublic MailItem consume()
consume
in interface IMailQueue
public int size()
size
in interface IMailQueue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |