|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLogEnabled | +--org.apache.james.mailrepository.AvalonMailRepository | +--org.apache.james.mailrepository.AvalonSpoolRepository
Implementation of a MailRepository on a FileSystem.
Requires a configuration element in the .conf.xml file of the form:
Field Summary |
Fields inherited from class org.apache.james.mailrepository.AvalonMailRepository |
DEEP_DEBUG |
Fields inherited from interface org.apache.james.services.SpoolRepository |
SPOOL |
Fields inherited from interface org.apache.james.services.MailRepository |
MAIL |
Constructor Summary | |
AvalonSpoolRepository()
|
Method Summary | |
java.lang.String |
accept()
Returns the key for an arbitrarily selected mail deposited in this Repository. |
java.lang.String |
accept(long delay)
Returns the key for an arbitrarily select mail depository in this Repositry that is either ready immediately for delivery, or is younger than it's last_updated plus the number of failed attempts times the delay time. |
Methods inherited from class org.apache.james.mailrepository.AvalonMailRepository |
compose, configure, initialize, list, lock, remove, remove, retrieve, store, unlock |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.james.services.MailRepository |
list, lock, remove, remove, retrieve, store, unlock |
Constructor Detail |
public AvalonSpoolRepository()
Method Detail |
public java.lang.String accept()
SpoolRepository
accept
in interface SpoolRepository
public java.lang.String accept(long delay)
SpoolRepository
accept
in interface SpoolRepository
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |