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 longget()Get the current value.longGet 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. Thevalueis thetotal incrementsminus thetotal decrements- Returns:
- the decremented value
-