|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.core.ServerComponent
org.ozoneDB.core.KeyGenerator
Field Summary | |
private long |
idBorder
|
private long |
idCount
|
private long |
idRange
|
Fields inherited from class org.ozoneDB.core.ServerComponent |
env |
Constructor Summary | |
KeyGenerator(Env env)
|
Method Summary | |
long |
nextID()
|
long |
nextID(long range)
|
void |
save()
Save the internal state in the state to the server state properties. |
void |
shutdown()
|
void |
startup()
Start up and load the internal state from the server state properties. |
Methods inherited from class org.ozoneDB.core.ServerComponent |
clearChanged, hasChanged, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private long idCount
private long idBorder
private long idRange
Constructor Detail |
public KeyGenerator(Env env)
Method Detail |
public void startup() throws java.lang.Exception
ServerComponent
startup
in class ServerComponent
java.lang.Exception
public void shutdown() throws java.lang.Exception
shutdown
in class ServerComponent
java.lang.Exception
public void save() throws java.lang.Exception
ServerComponent
save
in class ServerComponent
java.lang.Exception
public long nextID()
public long nextID(long range)
|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |