@InterfaceAudience.Private public final class AtomicUtils extends Object
限定符和类型 | 方法和说明 |
---|---|
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–2022 The Apache Software Foundation. All rights reserved.