org.eclipse.jetty.util
类 Atomics

java.lang.Object
  继承者 org.eclipse.jetty.util.Atomics

public class Atomics
extends Object


方法摘要
static void updateMax(AtomicInteger currentMax, int newValue)
           
static void updateMax(AtomicLong currentMax, long newValue)
           
static void updateMin(AtomicInteger currentMin, int newValue)
           
static void updateMin(AtomicLong currentMin, long newValue)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

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)


Copyright © 2013. All Rights Reserved.