Package com.mchange.v2.holders
Class SynchronizedLongHolder
- java.lang.Object
-
- com.mchange.v2.holders.SynchronizedLongHolder
-
- All Implemented Interfaces:
ThreadSafeLongHolder
,java.io.Serializable
public class SynchronizedLongHolder extends java.lang.Object implements ThreadSafeLongHolder, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SynchronizedLongHolder()
SynchronizedLongHolder(long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getValue()
void
setValue(long value)
-
-
-
Method Detail
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceThreadSafeLongHolder
-
setValue
public void setValue(long value)
- Specified by:
setValue
in interfaceThreadSafeLongHolder
-
-