| Constructor and Description |
|---|
StrictMaxBeanInstancePool(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
deriveSize()
Specifies if and what the max pool size should be derived from.
|
T |
deriveSize(String value)
Specifies if and what the max pool size should be derived from.
|
String |
getKey() |
Integer |
maxPoolSize()
The maximum number of bean instances that the pool can hold at a given
point in time
|
T |
maxPoolSize(Integer value)
The maximum number of bean instances that the pool can hold at a given
point in time
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
timeout()
The maximum amount of time to wait for a bean instance to be available
from the pool
|
T |
timeout(Long value)
The maximum amount of time to wait for a bean instance to be available
from the pool
|
String |
timeoutUnit()
The instance acquisition timeout unit
|
T |
timeoutUnit(String value)
The instance acquisition timeout unit
|
public StrictMaxBeanInstancePool(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="derive-size") public String deriveSize()
public T deriveSize(String value)
@ModelNodeBinding(detypedName="max-pool-size") public Integer maxPoolSize()
public T maxPoolSize(Integer value)
@ModelNodeBinding(detypedName="timeout") public Long timeout()
public T timeout(Long value)
@ModelNodeBinding(detypedName="timeout-unit") public String timeoutUnit()
Copyright © 2015 JBoss by Red Hat. All rights reserved.