fm.liveswitch.AtomicLong Class Reference

Public Member Functions

 AtomicLong ()
 
 AtomicLong (long initialValue)
 
long compareAndSwap (long expected, long newValue)
 
long getValue ()
 
long add (long value)
 
long subtract (long value)
 
long increment ()
 
long decrement ()
 

Constructor & Destructor Documentation

◆ AtomicLong() [1/2]

fm.liveswitch.AtomicLong.AtomicLong ( )

◆ AtomicLong() [2/2]

fm.liveswitch.AtomicLong.AtomicLong ( long  initialValue)

Member Function Documentation

◆ add()

long fm.liveswitch.AtomicLong.add ( long  value)

◆ compareAndSwap()

long fm.liveswitch.AtomicLong.compareAndSwap ( long  expected,
long  newValue 
)

◆ decrement()

long fm.liveswitch.AtomicLong.decrement ( )

◆ getValue()

long fm.liveswitch.AtomicLong.getValue ( )

◆ increment()

long fm.liveswitch.AtomicLong.increment ( )

◆ subtract()

long fm.liveswitch.AtomicLong.subtract ( long  value)