wt.pom
Class OIDPool

java.lang.Object
  extended bywt.pom.OIDPool

class OIDPool
extends Object


Field Summary
private  int currentIdx
           
private  long[] idPool
           
private static int POOL_SIZE
           
private static String versionID
           
 
Constructor Summary
(package private) OIDPool()
           
 
Method Summary
private  void fillIdPool(WTConnection aConnection)
           
protected  long newId(WTConnection aConnection)
           
protected  long[] newId(WTConnection aConnection, int howMany)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

currentIdx

private int currentIdx

idPool

private long[] idPool

POOL_SIZE

private static final int POOL_SIZE
See Also:
Constant Field Values
Constructor Detail

OIDPool

OIDPool()
Method Detail

newId

protected long newId(WTConnection aConnection)
              throws PersistenceException
Throws:
PersistenceException

newId

protected long[] newId(WTConnection aConnection,
                       int howMany)
                throws PersistenceException
Throws:
PersistenceException

fillIdPool

private void fillIdPool(WTConnection aConnection)
                 throws PersistenceException
Throws:
PersistenceException