LongAdder
instead.@InterfaceAudience.Public @Deprecated public class Counter extends Object
LongAdder
,
HBASE-7612Modifier and Type | Class and Description |
---|---|
private static class |
Counter.Cell
Deprecated.
|
private static class |
Counter.Container
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private AtomicReference<Counter.Container> |
containerRef
Deprecated.
|
private static int |
MAX_CELLS_LENGTH
Deprecated.
|
Modifier | Constructor and Description |
---|---|
|
Counter()
Deprecated.
|
private |
Counter(Counter.Cell initCell)
Deprecated.
|
|
Counter(long initValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(long delta)
Deprecated.
|
void |
decrement()
Deprecated.
|
long |
get()
Deprecated.
|
private static int |
hash()
Deprecated.
|
void |
increment()
Deprecated.
|
void |
set(long value)
Deprecated.
|
String |
toString()
Deprecated.
|
private static final int MAX_CELLS_LENGTH
private final AtomicReference<Counter.Container> containerRef
public Counter()
public Counter(long initValue)
private Counter(Counter.Cell initCell)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.