public class Memory.Table.Row.ColumnFamily.IncrementingValue extends Memory.Table.Row.ColumnFamily.Value<Long>
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
value
The actual value for this value
|
qualifier| Constructor and Description |
|---|
IncrementingValue(String qualifier,
Long value) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
The byte array representation for this value.
|
long |
getValue() |
void |
increment(long increment)
Atomically increments this value.
|
protected final AtomicLong value
public long getValue()
public void increment(long increment)
increment - can be negatve or positivepublic byte[] getBytes()
Memory.Table.Row.ColumnFamily.ValuegetBytes in class Memory.Table.Row.ColumnFamily.Value<Long>Copyright © 2016. All Rights Reserved.