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,
com.hazelcast.cluster.impl.VectorClock observedTimestamps)
Adds the given value to the current value.
|
CRDTTimestampedLong |
PNCounterImpl.get(com.hazelcast.cluster.impl.VectorClock observedTimestamps)
Returns the current value of the counter.
|
CRDTTimestampedLong |
PNCounterImpl.getAndAdd(long delta,
com.hazelcast.cluster.impl.VectorClock observedTimestamps)
Adds the given value to the current value.
|
CRDTTimestampedLong |
PNCounterImpl.getAndSubtract(long delta,
com.hazelcast.cluster.impl.VectorClock observedTimestamps)
Subtracts the given value from the current value.
|
CRDTTimestampedLong |
PNCounterImpl.subtractAndGet(long delta,
com.hazelcast.cluster.impl.VectorClock observedTimestamps)
Subtracts the given value from the current value.
|
Modifier and Type | Method and Description |
---|---|
CRDTTimestampedLong |
GetOperation.getResponse() |
CRDTTimestampedLong |
AddOperation.getResponse() |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.