public class PersistenceThreadPool<T extends PersistenceThreadPool<T>> extends Object
Constructor and Description |
---|
PersistenceThreadPool() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
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.
|
Integer |
minThreads()
Deprecated.
Deprecated. Has no effect.
|
T |
minThreads(Integer value)
Deprecated.
Deprecated. Has no effect.
|
Integer |
queueLength()
Deprecated.
Deprecated. Has no effect.
|
T |
queueLength(Integer value)
Deprecated.
Deprecated. Has no effect.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long keepaliveTime()
public T keepaliveTime(Long value)
public Integer maxThreads()
@Deprecated public Integer minThreads()
@Deprecated public T minThreads(Integer value)
@Deprecated public Integer queueLength()
@Deprecated public T queueLength(Integer value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.