Package org.intermine.web.context
Class MailDaemon
- java.lang.Object
-
- org.intermine.web.context.MailDaemon
-
- All Implemented Interfaces:
java.lang.Runnable
public final class MailDaemon extends java.lang.Object implements java.lang.Runnable
An runnable that will send emails delivered over a concurrent queue.- Author:
- Alex Kalderimis
-
-
Constructor Summary
Constructors Constructor Description MailDaemon(java.util.concurrent.ArrayBlockingQueue<MailAction> mailQueue, Emailer emailer)
Create a MailDaemon
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Constructor Detail
-
MailDaemon
public MailDaemon(java.util.concurrent.ArrayBlockingQueue<MailAction> mailQueue, Emailer emailer)
Create a MailDaemon- Parameters:
mailQueue
- The source for mail actions.emailer
- The emailer to fob them off onto.
-
-