org.apache.commons.pool
Class BaseKeyedObjectPool
- KeyedObjectPool
public abstract class BaseKeyedObjectPool
A simple base impementation of
ObjectPool
.
All optional operations are implemented as throwing
UnsupportedOperationException
.
Version:
- Rodney Waldhoff
addObject
public void addObject(Object key)
throws Exception,
UnsupportedOperationException
Not supported in this base implementation.
- addObject in interface KeyedObjectPool
clear
public void clear()
throws Exception,
UnsupportedOperationException
Not supported in this base implementation.
- clear in interface KeyedObjectPool
clear
public void clear(Object key)
throws Exception,
UnsupportedOperationException
Not supported in this base implementation.
- clear in interface KeyedObjectPool
close
public void close()
throws Exception
Does nothing this base implementation.
- close in interface KeyedObjectPool
getNumActive
public int getNumActive()
throws UnsupportedOperationException
Not supported in this base implementation.
- getNumActive in interface KeyedObjectPool
getNumActive
public int getNumActive(Object key)
throws UnsupportedOperationException
Not supported in this base implementation.
- getNumActive in interface KeyedObjectPool
getNumIdle
public int getNumIdle()
throws UnsupportedOperationException
Not supported in this base implementation.
- getNumIdle in interface KeyedObjectPool
getNumIdle
public int getNumIdle(Object key)
throws UnsupportedOperationException
Not supported in this base implementation.
- getNumIdle in interface KeyedObjectPool
Copyright © 2001-2003 Apache Software Foundation. Documenation generated May 21 2005.