|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Generator
Represents a store sequence.
| Field Summary | |
|---|---|
static java.lang.String |
UUID_HEX
|
static java.lang.String |
UUID_STRING
|
static java.lang.String |
UUID_TYPE4_HEX
|
static java.lang.String |
UUID_TYPE4_STRING
|
| Method Summary | |
|---|---|
void |
allocate(int additional)
Hint to the sequence to allocate additional values up-front for efficiency. |
java.lang.Object |
current()
The current sequence value, or null if the sequence does not support current values. |
Seq |
getDelegate()
Deprecated. cast to GeneratorImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
java.lang.String |
getName()
The sequence name. |
java.lang.Object |
next()
The next sequence value. |
| Field Detail |
|---|
static final java.lang.String UUID_HEX
static final java.lang.String UUID_STRING
static final java.lang.String UUID_TYPE4_STRING
static final java.lang.String UUID_TYPE4_HEX
| Method Detail |
|---|
java.lang.String getName()
java.lang.Object next()
java.lang.Object current()
void allocate(int additional)
Seq getDelegate()
GeneratorImpl instead. This
method pierces the published-API boundary, as does the SPI cast.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||