org.enhydra.jdbc.pool
Class GenerationObject
java.lang.Object
org.enhydra.jdbc.pool.GenerationObject
- public class GenerationObject
- extends java.lang.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
Constructor Summary |
GenerationObject(java.lang.Object o,
int generation)
constructor |
GenerationObject(java.lang.Object o,
int generation,
java.lang.String user,
java.lang.String password)
constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerationObject
public GenerationObject(java.lang.Object o,
int generation)
- constructor
GenerationObject
public GenerationObject(java.lang.Object o,
int generation,
java.lang.String user,
java.lang.String password)
- constructor
getGeneration
public int getGeneration()
getObj
public java.lang.Object getObj()
getUser
public java.lang.String getUser()
getPassword
public java.lang.String getPassword()
killObject
public void killObject()