Package org.eclipse.jetty.util
Class Atomics
- java.lang.Object
-
- org.eclipse.jetty.util.Atomics
-
public class Atomics extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
updateMax(java.util.concurrent.atomic.AtomicInteger currentMax, int newValue)
static boolean
updateMax(java.util.concurrent.atomic.AtomicLong currentMax, long newValue)
static boolean
updateMin(java.util.concurrent.atomic.AtomicInteger currentMin, int newValue)
static boolean
updateMin(java.util.concurrent.atomic.AtomicLong currentMin, long newValue)
-
-
-
Method Detail
-
updateMin
public static boolean updateMin(java.util.concurrent.atomic.AtomicLong currentMin, long newValue)
-
updateMax
public static boolean updateMax(java.util.concurrent.atomic.AtomicLong currentMax, long newValue)
-
updateMin
public static boolean updateMin(java.util.concurrent.atomic.AtomicInteger currentMin, int newValue)
-
updateMax
public static boolean updateMax(java.util.concurrent.atomic.AtomicInteger currentMax, int newValue)
-
-