class DelayedDeleter extends Object
| Constructor and Description |
|---|
DelayedDeleter(POP3MailBox mailbox)Creates a new delayed deleter for the given mailbox. |
| Modifier and Type | Method and Description |
|---|---|
void | cancel()Cancels the delayed deleter. |
Collection<String> | getQueued()Returns the list of queued deletions. |
void | queueDelete(String uidl)Queues a UIDL for later deletion. |
void | removeQueued(String uidl)Removes a UIDL from the deletion queue. |
public DelayedDeleter(POP3MailBox mailbox)
mailbox - the POP3 mailbox to delete frompublic void cancel()
public Collection<String> getQueued()
public void queueDelete(String uidl)
uidl - the message UIDL to deletepublic void removeQueued(String uidl)
uidl - the message UIDL to remove from queue