public class LDAPHealthCheck extends com.codahale.metrics.health.HealthCheck
Constructor and Description |
---|
LDAPHealthCheck(com.unboundid.ldap.sdk.LDAPInterface ldap,
com.unboundid.ldap.sdk.DN testEntry,
org.apache.logging.log4j.Logger log)
Creates a new LDAP connection pool health check.
|
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.health.HealthCheck.Result |
check() |
public LDAPHealthCheck(com.unboundid.ldap.sdk.LDAPInterface ldap, com.unboundid.ldap.sdk.DN testEntry, org.apache.logging.log4j.Logger log)
ldap
- The LDAP store. Must not be null
.testEntry
- LDAP entry to retrieve for the health check. Must
not be null
.log
- Optional logger for health check errors,
null
if not required.Copyright © 2015 Connect2id. All Rights Reserved.