public class JPAUIDSequencerImpl extends Object implements UIDSequencer
Constructor and Description |
---|
JPAUIDSequencerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Must be called when the service is no longer needed
|
int |
getNext(String key)
For the given key returns the incremented UID which is also stored in the same sequence entry.
|
void |
init()
Init Sequencer
|
public void init()
UIDSequencer
init
in interface UIDSequencer
public void dispose()
dispose
in interface UIDSequencer
public int getNext(String key)
UIDSequencer
getNext
in interface UIDSequencer
Copyright © 2015 Nuxeo SA. All rights reserved.