org.openrdf.http.object.threads
Class ManagedExecutors
java.lang.Object
org.openrdf.http.object.threads.ManagedExecutors
public class ManagedExecutors
- extends Object
Common Executors used.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEncoderThreadPool
public static Executor getEncoderThreadPool()
getParserThreadPool
public static Executor getParserThreadPool()
getWriterThreadPool
public static Executor getWriterThreadPool()
getTimeoutThreadPool
public static ScheduledExecutorService getTimeoutThreadPool()
newCachedPool
public static ExecutorService newCachedPool(String name)
newSingleScheduler
public static ScheduledExecutorService newSingleScheduler(String name)
newAntiDeadlockThreadPool
public static Executor newAntiDeadlockThreadPool(BlockingQueue<Runnable> queue,
String name)
newAntiDeadlockThreadPool
public static Executor newAntiDeadlockThreadPool(int corePoolSize,
int maximumPoolSize,
BlockingQueue<Runnable> queue,
String name)
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.