public interface ChainedCommonStreamBuilder<T extends ChainedCommonStreamBuilder<T>>
Modifier and Type | Method and Description |
---|---|
T |
withSlotName(String slotName)
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.
|
T |
withStartPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
T |
withStatusInterval(int time,
TimeUnit format)
Specifies the number of time between status packets sent back to the server.
|
T withSlotName(String slotName)
slotName
- not null replication slot already exists on server.T withStatusInterval(int time, TimeUnit format)
time
- positive timeformat
- format for specified timeT withStartPosition(LogSequenceNumber lsn)
lsn
- not null position from which need start replicate changesCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.