Uses of Class
io.r2dbc.postgresql.replication.LogSequenceNumber
Packages that use LogSequenceNumber
Package
Description
Support for logical and physical replication streams.
-
Uses of LogSequenceNumber in io.r2dbc.postgresql.replication
Classes in io.r2dbc.postgresql.replication that implement interfaces with type arguments of type LogSequenceNumberFields in io.r2dbc.postgresql.replication declared as LogSequenceNumberModifier and TypeFieldDescriptionstatic final LogSequenceNumberLogSequenceNumber.INVALID_LSNZero is used indicate an invalid pointer.Methods in io.r2dbc.postgresql.replication that return LogSequenceNumberModifier and TypeMethodDescriptionReplicationSlot.getConsistentPoint()Returns theLSNat which we became consistent.ReplicationStream.getLastAppliedLSN()Returns the last applied lsn send in update message to backed.ReplicationStream.getLastFlushedLSN()Returns the last flushed lsn send in update message to backend.ReplicationStream.getLastReceiveLSN()Returns the last received LSN position.static LogSequenceNumberLogSequenceNumber.valueOf(long value) static LogSequenceNumberCreate LSN instance by string represent LSN.Methods in io.r2dbc.postgresql.replication with parameters of type LogSequenceNumberModifier and TypeMethodDescriptionintLogSequenceNumber.compareTo(LogSequenceNumber o) voidReplicationStream.setAppliedLSN(LogSequenceNumber applied) Parameter used only physical replication and define which lsn already was apply on standby.voidReplicationStream.setFlushedLSN(LogSequenceNumber flushed) Sets the flushed LSN.ReplicationRequest.LogicalReplicationRequestBuilder.startPosition(LogSequenceNumber lsn) Specify start position from which backend will start stream changes.ReplicationRequest.LogicalReplicationStep2.startPosition(LogSequenceNumber lsn) Specify start position from which backend will start stream changes.ReplicationRequest.PhysicalReplicationRequestBuilder.startPosition(LogSequenceNumber lsn) Specify start position from which backend will start stream changes.ReplicationRequest.PhysicalReplicationStep2.startPosition(LogSequenceNumber lsn) Specify start position from which backend will start stream changes.ReplicationRequest.WithStartPosition.startPosition(LogSequenceNumber lsn) Specify start position from which backend will start stream changes.Constructors in io.r2dbc.postgresql.replication with parameters of type LogSequenceNumberModifierConstructorDescriptionReplicationSlot(String slotName, ReplicationType replicationType, LogSequenceNumber consistentPoint, String snapshotName, String outputPlugin)