org.cometd.benchmark
Class Atomics
java.lang.Object
org.cometd.benchmark.Atomics
public class Atomics
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Atomics
public Atomics()
updateMin
public static void updateMin(AtomicLong currentMin,
long newValue)
updateMax
public static void updateMax(AtomicLong currentMax,
long newValue)
updateMin
public static void updateMin(AtomicInteger currentMin,
int newValue)
updateMax
public static void updateMax(AtomicInteger currentMax,
int newValue)
decrement
public static <T> int decrement(AtomicStampedReference<T> reference)
Copyright © 2008-2012 Dojo Foundation. All Rights Reserved.