LongAdder instead.@InterfaceAudience.Public @Deprecated public class Counter extends Object
LongAdder, 
HBASE-7612| Modifier and Type | Class and Description | 
|---|---|
| private static class  | Counter.CellDeprecated.  | 
| private static class  | Counter.ContainerDeprecated.  | 
| Modifier and Type | Field and Description | 
|---|---|
| private AtomicReference<Counter.Container> | containerRefDeprecated.  | 
| private static int | MAX_CELLS_LENGTHDeprecated.  | 
| 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–2021 The Apache Software Foundation. All rights reserved.