/** * {@inheritDoc} */ @Override() protected void doHealthCheck() { invokeHealthCheck(null, true); }
/** * {@inheritDoc} */ @Override() protected void doHealthCheck() { invokeHealthCheck(null, true); }
/** * Invokes a synchronous one-time health-check against the connections in this * pool that are not currently in use. This will be independent of any * background health checking that may be automatically performed by the pool. * * @param healthCheck The health check to use. If this is * {@code null}, then the pool's * currently-configured health check (if any) will * be used. If this is {@code null} and there is * no health check configured for the pool, then * only a basic set of checks. * @param checkForExpiration Indicates whether to check to see if any * connections have been established for longer * than the maximum connection age. If this is * {@code true} then any expired connections will * be closed and replaced with newly-established * connections. * * @return An object with information about the result of the health check * processing. */ public LDAPConnectionPoolHealthCheckResult invokeHealthCheck( final LDAPConnectionPoolHealthCheck healthCheck, final boolean checkForExpiration) { return invokeHealthCheck(healthCheck, checkForExpiration, checkForExpiration); }
/** * Invokes a synchronous one-time health-check against the connections in this * pool that are not currently in use. This will be independent of any * background health checking that may be automatically performed by the pool. * * @param healthCheck The health check to use. If this is * {@code null}, then the pool's * currently-configured health check (if any) will * be used. If this is {@code null} and there is * no health check configured for the pool, then * only a basic set of checks. * @param checkForExpiration Indicates whether to check to see if any * connections have been established for longer * than the maximum connection age. If this is * {@code true} then any expired connections will * be closed and replaced with newly-established * connections. * * @return An object with information about the result of the health check * processing. */ public LDAPConnectionPoolHealthCheckResult invokeHealthCheck( final LDAPConnectionPoolHealthCheck healthCheck, final boolean checkForExpiration) { return invokeHealthCheck(healthCheck, checkForExpiration, checkForExpiration); }