Package | Description |
---|---|
com.hazelcast.crdt.pncounter |
This package contains the PN (Positive-Negative) CRDT counter
implementation.
|
com.hazelcast.crdt.pncounter.operations |
Contains the operations for the
PNCounter member-side
implementation. |
Modifier and Type | Method and Description |
---|---|
CRDTTimestampedLong |
PNCounterImpl.addAndGet(long delta,
VectorClock observedTimestamps)
Adds the given value to the current value.
|
CRDTTimestampedLong |
PNCounterImpl.get(VectorClock observedTimestamps)
Returns the current value of the counter.
|
CRDTTimestampedLong |
PNCounterImpl.getAndAdd(long delta,
VectorClock observedTimestamps)
Adds the given value to the current value.
|
CRDTTimestampedLong |
PNCounterImpl.getAndSubtract(long delta,
VectorClock observedTimestamps)
Subtracts the given value from the current value.
|
CRDTTimestampedLong |
PNCounterImpl.subtractAndGet(long delta,
VectorClock observedTimestamps)
Subtracts the given value from the current value.
|
Modifier and Type | Method and Description |
---|---|
CRDTTimestampedLong |
GetOperation.getResponse() |
CRDTTimestampedLong |
AddOperation.getResponse() |
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.