com.mchange.v2.holders
Class SynchronizedLongHolder

java.lang.Object
  extended by com.mchange.v2.holders.SynchronizedLongHolder
All Implemented Interfaces:
ThreadSafeLongHolder, Serializable

public class SynchronizedLongHolder
extends Object
implements ThreadSafeLongHolder, Serializable

See Also:
Serialized Form

Constructor Summary
SynchronizedLongHolder()
           
SynchronizedLongHolder(long value)
           
 
Method Summary
 long getValue()
           
 void setValue(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedLongHolder

public SynchronizedLongHolder(long value)

SynchronizedLongHolder

public SynchronizedLongHolder()
Method Detail

getValue

public long getValue()
Specified by:
getValue in interface ThreadSafeLongHolder

setValue

public void setValue(long value)
Specified by:
setValue in interface ThreadSafeLongHolder