org.apache.commons.pool
Class VisitTrackerFactory
java.lang.Object
org.apache.commons.pool.VisitTrackerFactory
- All Implemented Interfaces:
- org.apache.commons.pool.KeyedPoolableObjectFactory, org.apache.commons.pool.PoolableObjectFactory
public class VisitTrackerFactory
- extends Object
- implements org.apache.commons.pool.PoolableObjectFactory, org.apache.commons.pool.KeyedPoolableObjectFactory
Factory that creates VisitTracker instances. Used to
test Evictor runs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisitTrackerFactory
public VisitTrackerFactory()
makeObject
public Object makeObject()
- Specified by:
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
makeObject
public Object makeObject(Object key)
- Specified by:
makeObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
destroyObject
public void destroyObject(Object obj)
- Specified by:
destroyObject
in interface org.apache.commons.pool.PoolableObjectFactory
destroyObject
public void destroyObject(Object key,
Object obj)
- Specified by:
destroyObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
validateObject
public boolean validateObject(Object obj)
- Specified by:
validateObject
in interface org.apache.commons.pool.PoolableObjectFactory
validateObject
public boolean validateObject(Object key,
Object obj)
- Specified by:
validateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
activateObject
public void activateObject(Object obj)
throws Exception
- Specified by:
activateObject
in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
activateObject
public void activateObject(Object key,
Object obj)
throws Exception
- Specified by:
activateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
- Throws:
Exception
passivateObject
public void passivateObject(Object obj)
throws Exception
- Specified by:
passivateObject
in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
passivateObject
public void passivateObject(Object key,
Object obj)
throws Exception
- Specified by:
passivateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
- Throws:
Exception
resetId
public void resetId()
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.