public class MongoSequenceCounter
extends sirius.db.mongo.MongoEntity
This is used by Sequences
to store and generate the next value for a sequence.
Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
NAME
Contains the name of the sequence.
|
static sirius.db.mixing.Mapping |
NEXT_VALUE
Contains the next value which will be generated for this sequence.
|
Constructor and Description |
---|
MongoSequenceCounter() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
long |
getNextValue() |
void |
setName(String name) |
void |
setNextValue(long nextValue) |
Copyright © 2018. All rights reserved.