public interface MailStatusResult
Modifier and Type | Method and Description |
---|---|
Iterator<MailStatus> |
getAll() |
Iterator<MailStatus> |
getAllErrors() |
Iterator<MailStatus> |
getByState(MailState state) |
long |
getProcessedMailCount() |
long |
getTotalMailCount() |
boolean |
isProcessed() |
void |
waitTillProcessed(long timeout)
Wait till all messages on the sending queue have been sent (for this batch) before returning.
|
long getTotalMailCount()
long getProcessedMailCount()
void waitTillProcessed(long timeout)
timeout
- the maximum amount of time to wait in millisecondsboolean isProcessed()
Iterator<MailStatus> getAll()
Iterator<MailStatus> getAllErrors()
Iterator<MailStatus> getByState(MailState state)
state
- the state to match (prepare_success, prepare_error, send_success, send_error or send_fatal_error)Copyright © 2004–2022 XWiki. All rights reserved.