public class MailSenderRunnable extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected boolean |
alive |
static String |
copyright |
static org.slf4j.Logger |
logger |
protected int |
pollInterval |
protected MailSender |
sender |
Constructor and Description |
---|
MailSenderRunnable(MailSender sender) |
Modifier and Type | Method and Description |
---|---|
int |
getPollInterval() |
boolean |
isAlive() |
protected void |
mainLoop() |
void |
run() |
void |
setPollInterval(int pollInterval) |
void |
stop() |
public static final String copyright
protected final MailSender sender
protected boolean alive
protected int pollInterval
public static final org.slf4j.Logger logger
public MailSenderRunnable(MailSender sender)
protected void mainLoop() throws InterruptedException
InterruptedException
public void stop()
public int getPollInterval()
public void setPollInterval(int pollInterval)
public boolean isAlive()