public class StrictMaxBeanInstancePool<T extends StrictMaxBeanInstancePool> extends Object
| Constructor and Description |
|---|
StrictMaxBeanInstancePool(String key) |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 String deriveSize()
public T deriveSize(String value)
public Integer maxPoolSize()
public T maxPoolSize(Integer value)
public Long timeout()
public T timeout(Long value)
public String timeoutUnit()
Copyright © 2015 JBoss by Red Hat. All rights reserved.