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