org.deegree.io.sdeapi
Class SDEPool
java.lang.Object
java.util.TimerTask
org.deegree.framework.util.ObjectPool
org.deegree.io.sdeapi.SDEPool
- All Implemented Interfaces:
- Runnable
public class SDEPool
- extends ObjectPool
class to manage a pool of sde connections.
- Version:
- 2.0
- Author:
- Christoph Pollmann
Methods inherited from class org.deegree.framework.util.ObjectPool |
clear, getInstance, getMaxInstances, getMaxLifeTime, getMaxUsageTime, getUpdateInterval, releaseObject, run, setMaxInstances, setMaxLifeTime, setMaxUsageTime, setUpdateInterval, toString |
SDEPool
public SDEPool(String server,
int instance,
String database,
String version,
String user,
String password)
acquireObject
public Object acquireObject()
throws Exception
- get an object from the object pool
- Throws:
Exception
onObjectKill
public void onObjectKill(Object o)
- will be called when the object is removed from the pool
- Specified by:
onObjectKill
in class ObjectPool
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net