|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ericdaugherty.mail.server.services.smtp.SenderPool
public class SenderPool
This class allows SMTPSender to deliver mail concurrently. Since the mail sending process itself doesn't share resources multiple instances are allowed without provision for synchronization issues. However access to the queue is externally synchronized, to prevent any issue with concurrent inserts or removals and especially problems that may arise when the queue is forced to increase its size.
Constructor Summary | |
---|---|
SenderPool(int count,
java.lang.String name)
The single constructor of this class. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SenderPool(int count, java.lang.String name)
count
- The maximum number of allowed threads.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |