Top Constructors Methods
org.eclipse.jetty.util

public Class Atomics

extends Object
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicInteger, .AtomicLong

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
updateMax(AtomicLong currentMax, long newValue)

public static boolean
updateMax(AtomicInteger currentMax, int newValue)

public static boolean
updateMin(AtomicLong currentMin, long newValue)

public static boolean
updateMin(AtomicInteger currentMin, int newValue)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Atomicsback to summary
private Atomics()

Method Detail

updateMaxback to summary
public static boolean updateMax(AtomicLong currentMax, long newValue)
updateMaxback to summary
public static boolean updateMax(AtomicInteger currentMax, int newValue)
updateMinback to summary
public static boolean updateMin(AtomicLong currentMin, long newValue)
updateMinback to summary
public static boolean updateMin(AtomicInteger currentMin, int newValue)