@InterfaceAudience.Private public final class AtomicUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
AtomicUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
private AtomicUtils()
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.