|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface SpoolRepository.AcceptFilter
Implementations of AcceptFilter can be used to select which mails a SpoolRepository implementation returns from its accept (AcceptFilter) method
| Method Summary | |
|---|---|
boolean |
accept(java.lang.String key,
java.lang.String state,
long lastUpdated,
java.lang.String errorMessage)
This method is called by accept(Filter) to determine if the message is ready for delivery. |
long |
getWaitTime()
This method allows the filter to determine how long the thread should wait for a message to get ready for delivery, when currently there are none. |
| Method Detail |
|---|
boolean accept(java.lang.String key,
java.lang.String state,
long lastUpdated,
java.lang.String errorMessage)
key - message keystate - the state of the messagelastUpdated - the last time the message was written to the spoolerrorMessage - the current errorMessage
long getWaitTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||