Package com.mchange.v2.holders
Class SynchronizedLongHolder
java.lang.Object
com.mchange.v2.holders.SynchronizedLongHolder
- All Implemented Interfaces:
ThreadSafeLongHolder
,Serializable
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SynchronizedLongHolder
public SynchronizedLongHolder(long value) -
SynchronizedLongHolder
public SynchronizedLongHolder()
-
-
Method Details
-
getValue
public long getValue()- Specified by:
getValue
in interfaceThreadSafeLongHolder
-
setValue
public void setValue(long value) - Specified by:
setValue
in interfaceThreadSafeLongHolder
-