com.atlassian.crowd.embedded.impl
Class SystemConnectionPoolProperties
java.lang.Object
com.atlassian.crowd.embedded.impl.SystemConnectionPoolProperties
- All Implemented Interfaces:
- ConnectionPoolProperties
public class SystemConnectionPoolProperties
- extends java.lang.Object
- implements ConnectionPoolProperties
Represents the LDAP connection pool properties which are set as system properties. Used in the UI plugin
to display the "Current Settings".
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ConnectionPoolProperties getInstance()
getInitialSize
public java.lang.String getInitialSize()
- Specified by:
getInitialSize in interface ConnectionPoolProperties
- Returns:
- Number of connections to create when initially connecting to the pool.
getMaximumSize
public java.lang.String getMaximumSize()
- Specified by:
getMaximumSize in interface ConnectionPoolProperties
- Returns:
- Maximum number of connections to the LDAP server. Value of 0 means no maximum.
getPreferredSize
public java.lang.String getPreferredSize()
- Specified by:
getPreferredSize in interface ConnectionPoolProperties
- Returns:
- The preferred number of connections to be maintained in the pool.
getSupportedProtocol
public java.lang.String getSupportedProtocol()
- Specified by:
getSupportedProtocol in interface ConnectionPoolProperties
- Returns:
- The specified protocol types will be pooled. Valid types are: plain, ssl.
getTimeoutInSec
public java.lang.String getTimeoutInSec()
- Specified by:
getTimeoutInSec in interface ConnectionPoolProperties
- Returns:
- Idle time in seconds for a connection before it is removed from the pool. Value of 0 means there is no timeout.
getSupportedAuthentication
public java.lang.String getSupportedAuthentication()
- Specified by:
getSupportedAuthentication in interface ConnectionPoolProperties
- Returns:
- The specified authentication types will be pooled. Valid types are: none, simple, DIGEST-MD5.
toPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> toPropertiesMap()
- Specified by:
toPropertiesMap in interface ConnectionPoolProperties
- Returns:
- The LDAP connection pool properties as a map.
Copyright © 2010 Atlassian. All Rights Reserved.