Enum Class SystemConnectionPoolProperties
java.lang.Object
java.lang.Enum<SystemConnectionPoolProperties>
com.atlassian.crowd.embedded.impl.SystemConnectionPoolProperties
- All Implemented Interfaces:
ConnectionPoolProperties,Serializable,Comparable<SystemConnectionPoolProperties>,Constable
public enum SystemConnectionPoolProperties
extends Enum<SystemConnectionPoolProperties>
implements ConnectionPoolProperties
Represents the JNDI LDAP connection pool properties which are set as system properties. Used in the UI plugin
to display the "Current Settings".
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionPoolPropertiesReturns the enum constant of this class with the specified name.static SystemConnectionPoolProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getInstance
-
getInitialSize
- Specified by:
getInitialSizein interfaceConnectionPoolProperties- Returns:
- Number of connections to create when initially connecting to the pool.
-
getMaximumSize
- Specified by:
getMaximumSizein interfaceConnectionPoolProperties- Returns:
- Maximum number of connections to the LDAP server. Value of 0 means no maximum.
-
getPreferredSize
- Specified by:
getPreferredSizein interfaceConnectionPoolProperties- Returns:
- The preferred number of connections to be maintained in the pool.
-
getSupportedProtocol
- Specified by:
getSupportedProtocolin interfaceConnectionPoolProperties- Returns:
- The specified protocol types will be pooled. Valid types are: plain, ssl.
-
getTimeoutInSec
- Specified by:
getTimeoutInSecin interfaceConnectionPoolProperties- Returns:
- Idle time in seconds for a connection before it is removed from the pool. Value of 0 means there is no timeout.
-
getSupportedAuthentication
- Specified by:
getSupportedAuthenticationin interfaceConnectionPoolProperties- Returns:
- The specified authentication types will be pooled. Valid types are: none, simple, DIGEST-MD5.
-
toPropertiesMap
- Specified by:
toPropertiesMapin interfaceConnectionPoolProperties- Returns:
- The JNDI LDAP connection pool properties as a map.
-