Package org.ldaptive
Interface ConnectionFactoryMetadata
public interface ConnectionFactoryMetadata
Interface to describe the state of the connection factory. Used by
ConnectionStrategy
to produce LDAP URLs.-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of times the connection factory has created a connection.Returns the LDAP URL the connection factory is using.
-
Method Details
-
getLdapUrl
String getLdapUrl()Returns the LDAP URL the connection factory is using. May be space delimited for multiple URLs.- Returns:
- ldap url
-
getConnectionCount
int getConnectionCount()Returns the number of times the connection factory has created a connection.- Returns:
- connection count
-