Package | Description |
---|---|
org.apache.cassandra.concurrent |
Modifier and Type | Class and Description |
---|---|
class |
JMXConfigurableThreadPoolExecutor |
class |
JMXEnabledThreadPoolExecutor
This is a wrapper class for the ScheduledThreadPoolExecutor.
|
Modifier and Type | Method and Description |
---|---|
static DebuggableThreadPoolExecutor |
DebuggableThreadPoolExecutor.createCachedThreadpoolWithMaxSize(java.lang.String threadPoolName)
Creates a thread pool that creates new threads as needed, but
will reuse previously constructed threads when they are
available.
|
static DebuggableThreadPoolExecutor |
DebuggableThreadPoolExecutor.createWithFixedPoolSize(java.lang.String threadPoolName,
int size)
Returns a ThreadPoolExecutor with a fixed number of threads.
|
static DebuggableThreadPoolExecutor |
DebuggableThreadPoolExecutor.createWithMaximumPoolSize(java.lang.String threadPoolName,
int size,
int keepAliveTime,
java.util.concurrent.TimeUnit unit)
Returns a ThreadPoolExecutor with a fixed maximum number of threads, but whose
threads are terminated when idle for too long.
|
Copyright © 2015 The Apache Software Foundation