Interface Sequence

All Known Implementing Classes:
AtomicSequence, UnsynchronizedSequence

public interface Sequence
Generates unique long identifiers.
Author:
AO Industries, Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the next value from the sequence.
    void
    setNextSequenceValue(long nextValue)
     
  • Method Details

    • getNextSequenceValue

      long getNextSequenceValue()
      Gets the next value from the sequence.
    • setNextSequenceValue

      void setNextSequenceValue(long nextValue)