| Package | Description |
|---|---|
| io.r2dbc.postgresql.replication |
Support for logical and physical replication streams.
|
| Modifier and Type | Field and Description |
|---|---|
static LogSequenceNumber |
LogSequenceNumber.INVALID_LSN
Zero is used indicate an invalid pointer.
|
| Modifier and Type | Method and Description |
|---|---|
LogSequenceNumber |
ReplicationSlot.getConsistentPoint()
Returns the
LSN at which we became consistent. |
LogSequenceNumber |
ReplicationStream.getLastAppliedLSN()
Returns the last applied lsn send in update message to backed.
|
LogSequenceNumber |
ReplicationStream.getLastFlushedLSN()
Returns the last flushed lsn send in update message to backend.
|
LogSequenceNumber |
ReplicationStream.getLastReceiveLSN()
Returns the last received LSN position.
|
static LogSequenceNumber |
LogSequenceNumber.valueOf(long value) |
static LogSequenceNumber |
LogSequenceNumber.valueOf(String strValue)
Create LSN instance by string represent LSN.
|
| Modifier and Type | Method and Description |
|---|---|
int |
LogSequenceNumber.compareTo(LogSequenceNumber o) |
void |
ReplicationStream.setAppliedLSN(LogSequenceNumber applied)
Parameter used only physical replication and define which lsn already was apply on standby.
|
void |
ReplicationStream.setFlushedLSN(LogSequenceNumber flushed)
Sets the flushed LSN.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationStep2.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationRequestBuilder.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.PhysicalReplicationRequestBuilder |
ReplicationRequest.PhysicalReplicationStep2.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.PhysicalReplicationRequestBuilder |
ReplicationRequest.PhysicalReplicationRequestBuilder.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.WithStartPosition |
ReplicationRequest.WithStartPosition.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
| Constructor and Description |
|---|
ReplicationSlot(String slotName,
ReplicationType replicationType,
LogSequenceNumber consistentPoint,
String snapshotName,
String outputPlugin) |
Copyright © 2024. All rights reserved.