|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.rid.RIDGenerator
public final class RIDGenerator
| Field Summary | |
|---|---|
boolean |
flag
|
| Constructor Summary | |
|---|---|
protected |
RIDGenerator(TimeProvider testTP)
Constructor for RIDGenerator. |
| Method Summary | |
|---|---|
RIDSequence |
getIDSequence(int amount)
getIDSequence |
static RIDGenerator |
getInstance()
getInstance |
boolean |
isUUID()
Generates a new time field. |
java.util.UUID |
newID()
newID |
java.util.UUID[] |
newIDs(int amount)
newIDs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean flag
| Constructor Detail |
|---|
protected RIDGenerator(TimeProvider testTP)
Constructor for RIDGenerator.
testTP - a TimeProvider object.| Method Detail |
|---|
public static RIDGenerator getInstance()
getInstance
RIDGenerator object.public boolean isUUID()
public java.util.UUID newID()
newID
UUID object.public java.util.UUID[] newIDs(int amount)
newIDs
amount - a int.
UUID objects.public RIDSequence getIDSequence(int amount)
getIDSequence
amount - a int.
RIDSequence object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||