org.camunda.bpm.engine.impl.mail
Class MailScanSchedulerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.camunda.bpm.engine.impl.mail.MailScanSchedulerThread
All Implemented Interfaces:
Runnable

public class MailScanSchedulerThread
extends Thread

Author:
Tom Baeyens

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  Map<String,MailScanCmd> allMailScansCmds
           
protected  CommandExecutor commandExecutor
           
protected  int idleWaitInMillis
           
protected  boolean isActive
           
protected  MailScanner mailScanner
           
protected  List<MailScanCmd> nextMailScanCmds
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MailScanSchedulerThread(MailScanner mailScanner)
           
 
Method Summary
 void addUser(String userId, String userPassword)
           
protected  MailScanCmd getNextMailScanCmd()
           
 void removeUser(String userId)
           
 void run()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isActive

protected boolean isActive

idleWaitInMillis

protected int idleWaitInMillis

mailScanner

protected MailScanner mailScanner

commandExecutor

protected CommandExecutor commandExecutor

allMailScansCmds

protected Map<String,MailScanCmd> allMailScansCmds

nextMailScanCmds

protected List<MailScanCmd> nextMailScanCmds
Constructor Detail

MailScanSchedulerThread

public MailScanSchedulerThread(MailScanner mailScanner)
Method Detail

addUser

public void addUser(String userId,
                    String userPassword)

removeUser

public void removeUser(String userId)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

getNextMailScanCmd

protected MailScanCmd getNextMailScanCmd()

shutdown

public void shutdown()


Copyright © 2014 camunda services GmbH. All Rights Reserved.