Package one.microstream.util
Class VolatileFlag
- java.lang.Object
-
- one.microstream.util.VolatileFlag
-
public final class VolatileFlag extends Object
-
-
Constructor Summary
Constructors Constructor Description VolatileFlag()
-
Method Summary
Modifier and Type Method Description static VolatileFlag
New()
static VolatileFlag
New(boolean state)
boolean
off()
boolean
on()
VolatileFlag
set(boolean state)
boolean
state()
-
-
-
Method Detail
-
New
public static final VolatileFlag New()
-
New
public static final VolatileFlag New(boolean state)
-
on
public final boolean on()
-
off
public final boolean off()
-
set
public final VolatileFlag set(boolean state)
-
state
public final boolean state()
-
-