public interface ManageableMailQueue extends MailQueue
MailQueue which is manageable| Modifier and Type | Interface and Description |
|---|---|
static interface |
ManageableMailQueue.MailQueueItemView
Represent a View over a queue
MailQueue.MailQueueItem |
static interface |
ManageableMailQueue.MailQueueIterator
Iterator subclass which allows to browse the content of a queue. |
static class |
ManageableMailQueue.Type |
MailQueue.MailQueueException, MailQueue.MailQueueItem| Modifier and Type | Method and Description |
|---|---|
ManageableMailQueue.MailQueueIterator |
browse()
Allow to browse the queues content.
|
long |
clear()
Remove all mails from the queue
|
long |
flush()
Flush the queue, which means it will make all message ready for dequeue
|
long |
getSize()
Return the size of the queue
|
long |
remove(ManageableMailQueue.Type type,
String value)
Remove all mails from the queue that match
|
long getSize()
throws MailQueue.MailQueueException
MailQueueExceptionMailQueue.MailQueueExceptionlong flush()
throws MailQueue.MailQueueException
MailQueueExceptionMailQueue.MailQueueExceptionlong clear()
throws MailQueue.MailQueueException
MailQueueExceptionMailQueue.MailQueueExceptionlong remove(ManageableMailQueue.Type type, String value) throws MailQueue.MailQueueException
type - value - MailQueueExceptionMailQueue.MailQueueExceptionManageableMailQueue.MailQueueIterator browse() throws MailQueue.MailQueueException
MailQueue.MailQueueExceptionCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.