Class LdapPoolConfig
java.lang.Object
com.atlassian.crowd.directory.ldap.connectionpool.data.LdapPoolConfig
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Diffable<LdapPoolConfig>
public class LdapPoolConfig
extends Object
implements org.apache.commons.lang3.builder.Diffable<LdapPoolConfig>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LdapPoolConfig
(int maxIdlePerKey, int maxTotal, int maxTotalPerKey, int minIdlePerKey, boolean blockWhenExhausted, String evictionPolicyClassName, boolean fairness, boolean jmxEnabled, String jmxNameBase, String jmxNamePrefix, boolean lifo, long maxWaitMillis, long minEvictableIdleTimeMillis, int numTestsPerEvictionRun, long softMinEvictableIdleTimeMillis, boolean testOnBorrow, boolean testOnCreate, boolean testOnReturn, boolean testWhileIdle, long timeBetweenEvictionRunsMillis) -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapPoolConfig.Builder
builder()
static LdapPoolConfig.Builder
builder
(LdapPoolConfig data) org.apache.commons.lang3.builder.DiffResult<LdapPoolConfig>
diff
(LdapPoolConfig that) boolean
int
int
int
long
long
int
int
long
long
int
hashCode()
boolean
boolean
boolean
boolean
isLifo()
boolean
boolean
boolean
boolean
toString()
-
Constructor Details
-
LdapPoolConfig
protected LdapPoolConfig(int maxIdlePerKey, int maxTotal, int maxTotalPerKey, int minIdlePerKey, boolean blockWhenExhausted, String evictionPolicyClassName, boolean fairness, boolean jmxEnabled, String jmxNameBase, String jmxNamePrefix, boolean lifo, long maxWaitMillis, long minEvictableIdleTimeMillis, int numTestsPerEvictionRun, long softMinEvictableIdleTimeMillis, boolean testOnBorrow, boolean testOnCreate, boolean testOnReturn, boolean testWhileIdle, long timeBetweenEvictionRunsMillis)
-
-
Method Details
-
getMaxIdlePerKey
public int getMaxIdlePerKey() -
getMaxTotal
public int getMaxTotal() -
getMaxTotalPerKey
public int getMaxTotalPerKey() -
getMinIdlePerKey
public int getMinIdlePerKey() -
isBlockWhenExhausted
public boolean isBlockWhenExhausted() -
getEvictionPolicyClassName
-
isFairness
public boolean isFairness() -
isJmxEnabled
public boolean isJmxEnabled() -
getJmxNameBase
-
getJmxNamePrefix
-
isLifo
public boolean isLifo() -
getMaxWaitMillis
public long getMaxWaitMillis() -
getMinEvictableIdleTimeMillis
public long getMinEvictableIdleTimeMillis() -
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun() -
getSoftMinEvictableIdleTimeMillis
public long getSoftMinEvictableIdleTimeMillis() -
isTestOnBorrow
public boolean isTestOnBorrow() -
isTestOnCreate
public boolean isTestOnCreate() -
isTestOnReturn
public boolean isTestOnReturn() -
isTestWhileIdle
public boolean isTestWhileIdle() -
getTimeBetweenEvictionRunsMillis
public long getTimeBetweenEvictionRunsMillis() -
equals
-
hashCode
public int hashCode() -
toString
-
diff
- Specified by:
diff
in interfaceorg.apache.commons.lang3.builder.Diffable<LdapPoolConfig>
-
builder
-
builder
-