@InterfaceAudience.Private public class AtomicUtils extends Object
Constructor and Description |
---|
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.
|
public AtomicUtils()
public static void updateMin(AtomicLong min, long value)
public static void updateMax(AtomicLong max, long value)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.