com.mchange.v2.holders
Class SynchronizedLongHolder
java.lang.Object
com.mchange.v2.holders.SynchronizedLongHolder
- All Implemented Interfaces:
- ThreadSafeLongHolder, Serializable
public class SynchronizedLongHolder
- extends Object
- implements ThreadSafeLongHolder, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizedLongHolder
public SynchronizedLongHolder(long value)
SynchronizedLongHolder
public SynchronizedLongHolder()
getValue
public long getValue()
- Specified by:
getValue
in interface ThreadSafeLongHolder
setValue
public void setValue(long value)
- Specified by:
setValue
in interface ThreadSafeLongHolder