org.objectweb.jorm.facility.naming.generator
Interface LongGen
- All Known Subinterfaces:
- PLongGen
- All Known Implementing Classes:
- CompositePLongGen, LongGenIncr, RdbSequenceLongGen
- public interface LongGen
Provides a generator of long identifiers and ensures that allocated ones are
never proposed again (allocation information is made persistent).
- Author:
- P. Dechamboux
Method Summary |
long |
genId()
/**
Generates a new long identifier. |
long |
genId(java.lang.Object conn)
|
genId
public long genId()
throws PException
- /**
Generates a new long identifier.
- Returns:
- The new identifier.
- Throws:
PException
genId
public long genId(java.lang.Object conn)
throws PException
- Throws:
PException