Package io.debezium.crdt
Interface PNCount
- All Known Subinterfaces:
DeltaCount
,DeltaCounter
,PNCounter
- All Known Implementing Classes:
StateBasedPNCounter
,StateBasedPNDeltaCounter
A read-only result of the state of a
PNCounter
. The value may or may not change depending upon how the value was
obtained.-
Method Summary
Modifier and TypeMethodDescriptiondefault long
get()
Get the current value.long
Get the amount that the value decremented.Methods inherited from interface io.debezium.crdt.GCount
getIncrement
-
Method Details
-
get
default long get()Get the current value. -
getDecrement
long getDecrement()Get the amount that the value decremented. Thevalue
is thetotal increments
minus thetotal decrements
- Returns:
- the decremented value
-