Package org.cometd.benchmark
Class Atomics
java.lang.Object
org.cometd.benchmark.Atomics
public class Atomics extends Object
-
Constructor Summary
Constructors Constructor Description Atomics() -
Method Summary
Modifier and Type Method Description static <T> intdecrement(AtomicStampedReference<T> reference)static voidupdateMax(AtomicInteger currentMax, int newValue)static voidupdateMax(AtomicLong currentMax, long newValue)static <T> booleanupdateMax(AtomicStampedReference<T> reference, T value, int stamp)static voidupdateMin(AtomicInteger currentMin, int newValue)static voidupdateMin(AtomicLong currentMin, long newValue)