org.qi4j.library.uid.sequence
Class PersistedSequencingMixin

java.lang.Object
  extended by org.qi4j.library.uid.sequence.PersistedSequencingMixin
All Implemented Interfaces:
Sequencing

public class PersistedSequencingMixin
extends Object
implements Sequencing


Constructor Summary
PersistedSequencingMixin()
           
 
Method Summary
 Long currentSequenceValue()
           
 Long newSequenceValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistedSequencingMixin

public PersistedSequencingMixin()
Method Detail

newSequenceValue

public Long newSequenceValue()
                      throws SequencingException
Specified by:
newSequenceValue in interface Sequencing
Throws:
SequencingException

currentSequenceValue

public Long currentSequenceValue()
Specified by:
currentSequenceValue in interface Sequencing