Class Sequencer

java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicLong
com.storedobject.common.Sequencer
All Implemented Interfaces:
Serializable

public class Sequencer extends AtomicLong
The Sequencer class extends AtomicLong to provide functionality for generating sequential numbers starting from a specified value. It ensures the sequence resets to 1 if the current value reaches Long.MAX_VALUE.
Author:
Syam
See Also: