public static class LdapProviderConfig.PoolConfig extends Object
GenericObjectPool)| Constructor and Description |
|---|
LdapProviderConfig.PoolConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxActive()
Returns the maximum number of objects that can be allocated by the pool
(checked out to clients, or idle awaiting checkout) at a given time.
|
boolean |
lookupOnValidate()
Defines if the lookup on validate flag is enabled.
|
LdapProviderConfig.PoolConfig |
setLookupOnValidate(boolean lookupOnValidate)
Sets the lookup on validate flag.
|
LdapProviderConfig.PoolConfig |
setMaxActive(int maxActive)
Sets the cap on the number of objects that can be allocated by the pool.
|
String |
toString() |
public int getMaxActive()
setMaxActive(int)@Nonnull public LdapProviderConfig.PoolConfig setMaxActive(int maxActive)
getMaxActive()public boolean lookupOnValidate()
true if the flag is enabled.@Nonnull public LdapProviderConfig.PoolConfig setLookupOnValidate(boolean lookupOnValidate)
lookupOnValidate()Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.