net.sf.ehcache.util
Class AtomicLongSequence
java.lang.Object
net.sf.ehcache.util.AtomicLongSequence
- All Implemented Interfaces:
- LongSequence
public class AtomicLongSequence
- extends Object
- implements LongSequence
Simple non-persistent implementation of LongSequence
- Author:
- twu
Method Summary |
long |
next()
Get the next value in the sequence |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicLongSequence
public AtomicLongSequence()
next
public long next()
- Description copied from interface:
LongSequence
- Get the next value in the sequence
- Specified by:
next
in interface LongSequence
- Returns:
- the next value
Copyright 2001-2017, Terracotta, Inc.