org.enhydra.jdbc.pool
Class GenerationObject
java.lang.Object
org.enhydra.jdbc.pool.GenerationObject
public class GenerationObject
- extends Object
This class allows to store multiple things in the Generic
Pool hashtable. In our first implementation, we store the
generation number. It is used to close down all pooled objects
that were open when a error occured, allowing new pooled objects
to be allocated
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerationObject
public GenerationObject(Object o,
int generation)
- constructor
GenerationObject
public GenerationObject(Object o,
int generation,
String user,
String password)
- constructor
getCreated
public long getCreated()
getGeneration
public int getGeneration()
getObj
public Object getObj()
getUser
public String getUser()
getPassword
public String getPassword()
killObject
public void killObject()
Copyright © 2011. All Rights Reserved.