|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessageManager
| Method Summary | |
|---|---|
boolean |
canProcess(javax.mail.Message message)
Ask the MessageManager to lock the resource if the message can be processed. |
void |
clear()
Clear the list of already copied messages |
void |
done(javax.mail.Message message)
Tells the MessageManager that the message is successfully copied and remove thread lock. |
void |
failed(javax.mail.Message message)
Tells the MessageManager that an error occurred while copying the message and free the message's thread lock. |
boolean |
failedTooManyTimes(javax.mail.Message message)
Ask the MessageManager if a message failled too many times to copy. |
int |
getMaxAttempts()
Gets the max attempts. |
java.util.List<java.lang.String> |
getMessages()
Gets the messages. |
void |
setMessages(java.util.List<java.lang.String> messageList)
Sets the messages. |
| Method Detail |
|---|
boolean canProcess(javax.mail.Message message)
message - the message
void done(javax.mail.Message message)
message - A copied message.void failed(javax.mail.Message message)
message - the messageboolean failedTooManyTimes(javax.mail.Message message)
message - the message
java.util.List<java.lang.String> getMessages()
void setMessages(java.util.List<java.lang.String> messageList)
messageList - the list of successfully copied messagesint getMaxAttempts()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||