Class SlotState
- java.lang.Object
-
- io.debezium.connector.postgresql.spi.SlotState
-
@Incubating public class SlotState extends Object
A simple data container that holds the state of the current slot
-
-
Field Summary
Fields Modifier and Type Field Description private booleanactiveprivate LongcatalogXminprivate LsnlatestFlushedLsnprivate LsnrestartLsn
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongslotCatalogXmin()booleanslotIsActive()LsnslotLastFlushedLsn()LsnslotRestartLsn()
-
-
-
Method Detail
-
slotLastFlushedLsn
public Lsn slotLastFlushedLsn()
- Returns:
- the slot's `confirmed_flushed_lsn` value
-
slotRestartLsn
public Lsn slotRestartLsn()
- Returns:
- the slot's `restart_lsn` value
-
slotCatalogXmin
public Long slotCatalogXmin()
- Returns:
- the slot's `catalog_xmin` value
-
slotIsActive
public boolean slotIsActive()
- Returns:
- if the slot is active
-
-