| Package | Description |
|---|---|
| io.debezium.crdt |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DeltaCounter
|
interface |
PNCounter
A simple counter that maintains a single changing value by separately tracking the positive and negative changes.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
StateBasedGCounter |
(package private) class |
StateBasedPNCounter |
(package private) class |
StateBasedPNDeltaCounter |
| Modifier and Type | Method and Description |
|---|---|
GCounter |
StateBasedGCounter.increment() |
GCounter |
GCounter.increment()
Increment the counter and get the result.
|
GCounter |
StateBasedGCounter.merge(Count other) |
GCounter |
GCounter.merge(Count other)
Merge the supplied counter into this counter.
|
static GCounter |
CRDT.newGCounter()
Create a new CRDT grow-only (G) counter.
|
static GCounter |
CRDT.newGCounter(long adds)
Create a new CRDT grow-only (G) counter pre-populated with the given value.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.