edu.vt.middleware.ldap.pool
Class ValidatePoolTask<T extends BaseLdap>
java.lang.Object
java.util.TimerTask
edu.vt.middleware.ldap.pool.ValidatePoolTask<T>
- Type Parameters:
T - type of ldap object
- All Implemented Interfaces:
- Runnable
public 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.
- Version:
- $Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
- Author:
- Middleware Services
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
Log for this class. |
|
Method Summary |
void |
run()
This attempts to validate idle objects in a pool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Log for this class.
ValidatePoolTask
public ValidatePoolTask(LdapPool<T> lp)
- Creates a new task to periodically validate the supplied pool.
- Parameters:
lp - ldap pool to periodically validate
run
public void run()
- This attempts to validate idle objects in a pool. See
LdapPool.validate().
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask
Copyright © 2003-2010 Virginia Tech. All Rights Reserved.