Package net.sf.ehcache.util
Class AtomicLongSequence
- java.lang.Object
-
- net.sf.ehcache.util.AtomicLongSequence
-
- All Implemented Interfaces:
LongSequence
public class AtomicLongSequence extends java.lang.Object implements LongSequence
Simple non-persistent implementation ofLongSequence- Author:
- twu
-
-
Constructor Summary
Constructors Constructor Description AtomicLongSequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()Get the next value in the sequence
-
-
-
Method Detail
-
next
public long next()
Description copied from interface:LongSequenceGet the next value in the sequence- Specified by:
nextin interfaceLongSequence- Returns:
- the next value
-
-