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 ConnectionPoolProperties
Returns 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:
getInitialSize
in interfaceConnectionPoolProperties
- Returns:
- Number of connections to create when initially connecting to the pool.
-
getMaximumSize
- Specified by:
getMaximumSize
in interfaceConnectionPoolProperties
- Returns:
- Maximum number of connections to the LDAP server. Value of 0 means no maximum.
-
getPreferredSize
- Specified by:
getPreferredSize
in interfaceConnectionPoolProperties
- Returns:
- The preferred number of connections to be maintained in the pool.
-
getSupportedProtocol
- Specified by:
getSupportedProtocol
in interfaceConnectionPoolProperties
- Returns:
- The specified protocol types will be pooled. Valid types are: plain, ssl.
-
getTimeoutInSec
- Specified by:
getTimeoutInSec
in 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:
getSupportedAuthentication
in interfaceConnectionPoolProperties
- Returns:
- The specified authentication types will be pooled. Valid types are: none, simple, DIGEST-MD5.
-
toPropertiesMap
- Specified by:
toPropertiesMap
in interfaceConnectionPoolProperties
- Returns:
- The JNDI LDAP connection pool properties as a map.
-