|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.triactive.jdo.store.OIDGenerator
com.triactive.jdo.store.NondurableOIDGenerator
public class NondurableOIDGenerator
An OID generator backed solely by memory. This generator always starts at hi=0,lo=0 and increments by one.
| Field Summary |
|---|
| Fields inherited from class com.triactive.jdo.store.OIDGenerator |
|---|
classId, nextHiValue, nextLoValue |
| Constructor Summary | |
|---|---|
NondurableOIDGenerator(int classId)
Constructs a new non-durable OID generator. |
|
| Method Summary | |
|---|---|
OID |
next(StoreManager storeMgr)
Generates the next unique OID value. |
| Methods inherited from class com.triactive.jdo.store.OIDGenerator |
|---|
maximum, minimum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NondurableOIDGenerator(int classId)
classId - the class ID of OIDs to generate.| Method Detail |
|---|
public OID next(StoreManager storeMgr)
OIDGenerator
next in class OIDGeneratorstoreMgr - the store manager to use for accessing datastore-based sequence(s),
if necessary.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||