public class ThreadPoolExpiration<T extends ThreadPoolExpiration> extends Object
| Constructor and Description |
|---|
ThreadPoolExpiration() |
| 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.
|
T |
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.
|
T |
maxThreads(Integer value)
The maximum thread pool size.
|
public String getKey()
public Long keepaliveTime()
public T keepaliveTime(Long value)
public Integer maxThreads()
Copyright © 2015 JBoss by Red Hat. All rights reserved.