|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.id.dbid.DBIDGenerator
public class DBIDGenerator
| Method Summary | |
|---|---|
long |
getID(java.lang.String context)
Call to get a unique id for the given context and by default the the id numbers cannot be rolled over and reused. |
static DBIDGenerator |
getInstance()
|
void |
setUseMemoryIDGeneration(boolean useInMemory)
Call to switch whether persistent storage of ID's is to be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public long getID(java.lang.String context)
throws DBIDGeneratorException
getID in interface DBIDControllercontext - that identifies a unique entity
DBIDGeneratorExceptionpublic void setUseMemoryIDGeneration(boolean useInMemory)
useInMemory - whether or not to use in Memory ID generationpublic static DBIDGenerator getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||