Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.deegree.framework.util.ObjectPool
`available, existingInstances, in_use, startLifeTime, startUsageTime`

Constructor Summary
`SDEPool(String server, int instance, String database, String version, String user, String password)`

Method Summary
`Object` | `acquireObject()` get an object from the object pool
`void` | `onObjectKill(Object o)` will be called when the object is removed from the pool

Methods inherited from class org.deegree.framework.util.ObjectPool
`clear, getInstance, getMaxInstances, getMaxLifeTime, getMaxUsageTime, getUpdateInterval, releaseObject, run, setMaxInstances, setMaxLifeTime, setMaxUsageTime, setUpdateInterval, toString`

Methods inherited from class java.util.TimerTask
`cancel, scheduledExecutionTime`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SDEPool

    public SDEPool(String server,
                   int instance,
                   String database,
                   String version,
                   String user,
                   String password)

Parameters:
  `server` -
  `instance` -
  `database` -
  `version` -
  `user` -
  `password` -

Method Detail

### acquireObject

    public Object acquireObject()
                         throws Exception

  get an object from the object pool

  Returns:
    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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org