public class ListenerThreadPool extends Object
| Constructor and Description |
|---|
ListenerThreadPool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Long |
keepaliveTime()
Used to specify the amount of milliseconds that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.
|
ListenerThreadPool |
keepaliveTime(Long value)
Used to specify the amount of milliseconds that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.
|
Integer |
maxThreads()
The maximum thread pool size.
|
ListenerThreadPool |
maxThreads(Integer value)
The maximum thread pool size.
|
Integer |
minThreads()
The core thread pool size which is smaller than the maximum pool size.
|
ListenerThreadPool |
minThreads(Integer value)
The core thread pool size which is smaller than the maximum pool size.
|
Integer |
queueLength()
The queue length.
|
ListenerThreadPool |
queueLength(Integer value)
The queue length.
|
public String getKey()
public Long keepaliveTime()
public ListenerThreadPool keepaliveTime(Long value)
public Integer maxThreads()
public ListenerThreadPool maxThreads(Integer value)
public Integer minThreads()
public ListenerThreadPool minThreads(Integer value)
public Integer queueLength()
public ListenerThreadPool queueLength(Integer value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.