TYPE_CONTIGUOUS, TYPE_DEFAULT, TYPE_NONTRANSACTIONAL, TYPE_TRANSACTIONAL| Constructor and Description |
|---|
TimeSeededSeq() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocate(int additional,
StoreContext ctx,
ClassMetaData meta)
Allocate additional values efficiently.
|
void |
close()
Free resources used by this sequence.
|
Object |
current(StoreContext ctx,
ClassMetaData meta)
Return the current value of the sequence, or null if not available.
|
int |
getIncrement() |
Object |
next(StoreContext ctx,
ClassMetaData meta)
Return the next value in the sequence.
|
void |
setIncrement(int increment) |
void |
setType(int type)
Set the type of sequence.
|
public void setType(int type)
Seqpublic int getIncrement()
public void setIncrement(int increment)
public Object next(StoreContext ctx, ClassMetaData meta)
Seqpublic Object current(StoreContext ctx, ClassMetaData meta)
Seqpublic void allocate(int additional,
StoreContext ctx,
ClassMetaData meta)
SeqCopyright © 2006–2022 Apache Software Foundation. All rights reserved.