T
- type of ldap objectpublic class ValidatePoolTask<T extends BaseLdap> extends TimerTask
ValidatePoolTask
is a periodic task that checks that every ldap
object in the pool is valid. Objects that don't pass validation are removed.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Log for this class.
|
Constructor and Description |
---|
ValidatePoolTask(LdapPool<T> lp)
Creates a new task to periodically validate the supplied pool.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This attempts to validate idle objects in a pool.
|
cancel, scheduledExecutionTime
public void run()
LdapPool.validate()
.Copyright © 2019. All rights reserved.