Package org.nuxeo.ecm.core.uidgen
Class AbstractUIDSequencer
java.lang.Object
org.nuxeo.ecm.core.uidgen.AbstractUIDSequencer
- All Implemented Interfaces:
UIDSequencer
- Direct Known Subclasses:
ESUIDSequencer
,JPAUIDSequencerImpl
,KeyValueStoreUIDSequencer
,MongoDBUIDSequencer
- Since:
- 7.4
-
Field Details
-
name
-
-
Constructor Details
-
AbstractUIDSequencer
public AbstractUIDSequencer()
-
-
Method Details
-
getName
Description copied from interface:UIDSequencer
Gets the sequencer name.- Specified by:
getName
in interfaceUIDSequencer
-
setName
Description copied from interface:UIDSequencer
Sets the sequencer name.- Specified by:
setName
in interfaceUIDSequencer
-
initSequence
Description copied from interface:UIDSequencer
Initializes the sequencer with the given key to at least the given long id.A sequence can only be incremented, so if its current id is greater than the given id the sequence won't be decremented to reach the given id.
- Specified by:
initSequence
in interfaceUIDSequencer
-