org.mailster.server
Class MailsterSmtpService.MailQueueControl

java.lang.Object
  extended by org.mailster.server.MailsterSmtpService.MailQueueControl
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MailsterSmtpService

 class MailsterSmtpService.MailQueueControl
extends java.lang.Object
implements java.lang.Runnable


Field Summary
private  java.util.concurrent.ScheduledFuture<?> handle
           
private  long lastExecutionTime
           
private  java.util.concurrent.ScheduledExecutorService scheduler
           
 
Constructor Summary
MailsterSmtpService.MailQueueControl()
           
 
Method Summary
 void run()
           
 void start()
           
 void stop()
           
 void updateDelay()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheduler

private final java.util.concurrent.ScheduledExecutorService scheduler

lastExecutionTime

private long lastExecutionTime

handle

private java.util.concurrent.ScheduledFuture<?> handle
Constructor Detail

MailsterSmtpService.MailQueueControl

MailsterSmtpService.MailQueueControl()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

updateDelay

public void updateDelay()

start

public void start()

stop

public void stop()