Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected Map<String,MailScanCmd> |
allMailScansCmds |
protected CommandExecutor |
commandExecutor |
protected int |
idleWaitInMillis |
protected boolean |
isActive |
protected MailScanner |
mailScanner |
protected List<MailScanCmd> |
nextMailScanCmds |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
MailScanSchedulerThread(MailScanner mailScanner) |
Modifier and Type | Method and Description |
---|---|
void |
addUser(String userId,
String userPassword) |
protected MailScanCmd |
getNextMailScanCmd() |
void |
removeUser(String userId) |
void |
run() |
void |
shutdown() |
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
protected boolean isActive
protected int idleWaitInMillis
protected MailScanner mailScanner
protected CommandExecutor commandExecutor
protected Map<String,MailScanCmd> allMailScansCmds
protected List<MailScanCmd> nextMailScanCmds
public MailScanSchedulerThread(MailScanner mailScanner)
public void removeUser(String userId)
protected MailScanCmd getNextMailScanCmd()
public void shutdown()
Copyright © 2015. All rights reserved.