| Modifier and Type | Field and Description |
|---|---|
| private final StartPhysicalReplicationCallback |
| Access | Constructor and Description |
|---|---|
| public | PhysicalStreamBuilder(StartPhysicalReplicationCallback
not null callback that should be execute after build parameters for start
replication startCallback)
|
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable String | getSlotName()
Implements org. Replication slots provide an automated way to ensure that the master does not remove WAL segments until they have been received by all standbys, and that the master does not remove rows which could cause a recovery conflict even when the standby is disconnected. |
| public LogSequenceNumber | |
| public int | getStatusInterval()
Implements org. Specifies the number of millisecond between status packets sent back to the server. |
| protected ChainedPhysicalStreamBuilder | |
| public PGReplicationStream | start()
Implements org. Open physical replication stream. |
| startCallback | back to summary |
|---|---|
| private final StartPhysicalReplicationCallback startCallback | |
| PhysicalStreamBuilder | back to summary |
|---|---|
public PhysicalStreamBuilder(StartPhysicalReplicationCallback startCallback)
| |
| getSlotName | back to summary |
|---|---|
| public @Nullable String getSlotName() Implements org. Doc from org. Replication slots provide an automated way to ensure that the master does not remove WAL segments until they have been received by all standbys, and that the master does not remove rows which could cause a recovery conflict even when the standby is disconnected. | |
| getStartLSNPosition | back to summary |
|---|---|
| public LogSequenceNumber getStartLSNPosition() Implements org.
| |
| getStatusInterval | back to summary |
|---|---|
| public int getStatusInterval() Implements org. Doc from org. Specifies the number of millisecond between status packets sent back to the server. This allows for easier monitoring of the progress from server. A value of zero disables the periodic status updates completely, although an update will still be sent when requested by the server, to avoid timeout disconnect. The default value is 10 seconds.
| |
| self | back to summary |
|---|---|
| protected ChainedPhysicalStreamBuilder self() Implements abstract org.
| |
| start | back to summary |
|---|---|
| public PGReplicationStream start() throws SQLException Implements org. Doc from org. Open physical replication stream.
| |