org.sonar.commons.commands
Class CommandAsynchronousExecutor
java.lang.Object
org.sonar.commons.commands.CommandAsynchronousExecutor
public class CommandAsynchronousExecutor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandAsynchronousExecutor
public CommandAsynchronousExecutor()
CommandAsynchronousExecutor
public CommandAsynchronousExecutor(int nbTaskExecutors)
CommandAsynchronousExecutor
public CommandAsynchronousExecutor(int nbTaskExecutors,
CommandExceptionNotifier notifier)
runTask
public void runTask(CommandTask task)
runTask
public void runTask(java.lang.String... args)
shutDown
public void shutDown()
getThreadPool
public java.util.concurrent.ThreadPoolExecutor getThreadPool()
setThreadPool
public void setThreadPool(java.util.concurrent.ThreadPoolExecutor threadPool)
getTimeout
public long getTimeout()
setTimeout
public void setTimeout(long timeout)
Copyright © 2007-2008 hortis. All Rights Reserved.