@InterfaceAudience.Private public class AtomicUtils extends Object
构造器和说明 |
---|
AtomicUtils() |
限定符和类型 | 方法和说明 |
---|---|
static void |
updateMax(AtomicLong max,
long value)
Updates a AtomicLong which is supposed to maintain the maximum values.
|
static void |
updateMin(AtomicLong min,
long value)
Updates a AtomicLong which is supposed to maintain the minimum values.
|
public static void updateMin(AtomicLong min, long value)
public static void updateMax(AtomicLong max, long value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.