public class CounterImpl extends java.lang.Object implements SpecialTypes.Counter
SpecialTypes.Counter type based on the P-Counter CRDT; the counter BDL type uses this.| Modifier and Type | Class and Description |
|---|---|
static class |
CounterImpl.Handler
Provides branch, merge, and serialization logic for
CounterImpl |
| Constructor and Description |
|---|
CounterImpl() |
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
BaggageHandler<?> |
handler() |
void |
increment() |
void |
increment(long quantity) |
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitnewInstancepublic BaggageHandler<?> handler()
public void increment()
increment in interface SpecialTypes.Counterpublic void increment(long quantity)
increment in interface SpecialTypes.Counterpublic long getValue()
getValue in interface SpecialTypes.Counterpublic java.lang.String toString()
toString in class java.lang.Object