ehcache

net.sf.ehcache.util
Class AtomicLongSequence

java.lang.Object
  extended by net.sf.ehcache.util.AtomicLongSequence
All Implemented Interfaces:
LongSequence

public class AtomicLongSequence
extends Object
implements LongSequence

Simple non-persistent implementation of LongSequence

Author:
twu

Constructor Summary
AtomicLongSequence()
           
 
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
 

Constructor Detail

AtomicLongSequence

public AtomicLongSequence()
Method Detail

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

ehcache

Copyright 2001-2015, Terracotta, Inc.