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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.mail.MailScanner

public class MailScanner
extends Object

Author:
Tom Baeyens

Field Summary
protected  CommandExecutor commandExecutor
           
protected  int corePoolSize
           
protected  boolean isActive
           
protected  boolean isAutoActivate
           
protected  MailScanSchedulerThread mailScanSchedulerThread
           
protected  int queueSize
           
protected  Thread thread
           
protected  ThreadPoolExecutor threadPoolExecutor
           
protected  BlockingQueue<Runnable> threadPoolQueue
           
 
Constructor Summary
MailScanner()
           
 
Method Summary
 void addUser(String userId, String userPassword)
           
 CommandExecutor getCommandExecutor()
           
 int getCorePoolSize()
           
 MailScanSchedulerThread getMailScanSchedulerThread()
           
 int getMaxPoolSize()
           
 int getQueueSize()
           
 ThreadPoolExecutor getThreadPoolExecutor()
           
 BlockingQueue<Runnable> getThreadPoolQueue()
           
 boolean isActive()
           
 boolean isAutoActivate()
           
 void removeUser(String userId)
           
 void setActive(boolean isActive)
           
 void setAutoActivate(boolean isAutoActivate)
           
 void setCommandExecutor(CommandExecutor commandExecutor)
           
 void setCorePoolSize(int corePoolSize)
           
 void setMailScanSchedulerThread(MailScanSchedulerThread mailScanScheduler)
           
 void setMaxPoolSize(int maxPoolSize)
           
 void setQueueSize(int queueSize)
           
 void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
           
 void setThreadPoolQueue(BlockingQueue<Runnable> threadPoolQueue)
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

protected Thread thread

isActive

protected boolean isActive

commandExecutor

protected CommandExecutor commandExecutor

isAutoActivate

protected boolean isAutoActivate

mailScanSchedulerThread

protected MailScanSchedulerThread mailScanSchedulerThread

threadPoolQueue

protected BlockingQueue<Runnable> threadPoolQueue

threadPoolExecutor

protected ThreadPoolExecutor threadPoolExecutor

queueSize

protected int queueSize

corePoolSize

protected int corePoolSize
Constructor Detail

MailScanner

public MailScanner()
Method Detail

start

public void start()

shutdown

public void shutdown()

addUser

public void addUser(String userId,
                    String userPassword)

removeUser

public void removeUser(String userId)

getCommandExecutor

public CommandExecutor getCommandExecutor()

getQueueSize

public int getQueueSize()

setQueueSize

public void setQueueSize(int queueSize)

getCorePoolSize

public int getCorePoolSize()

setCorePoolSize

public void setCorePoolSize(int corePoolSize)

getMaxPoolSize

public int getMaxPoolSize()

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)

getThreadPoolQueue

public BlockingQueue<Runnable> getThreadPoolQueue()

setThreadPoolQueue

public void setThreadPoolQueue(BlockingQueue<Runnable> threadPoolQueue)

getThreadPoolExecutor

public ThreadPoolExecutor getThreadPoolExecutor()

setThreadPoolExecutor

public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)

isActive

public boolean isActive()

isAutoActivate

public boolean isAutoActivate()

setAutoActivate

public void setAutoActivate(boolean isAutoActivate)

getMailScanSchedulerThread

public MailScanSchedulerThread getMailScanSchedulerThread()

setMailScanSchedulerThread

public void setMailScanSchedulerThread(MailScanSchedulerThread mailScanScheduler)

setActive

public void setActive(boolean isActive)

setCommandExecutor

public void setCommandExecutor(CommandExecutor commandExecutor)


Copyright © 2014 camunda services GmbH. All Rights Reserved.