public interface ReplicationProtocol
Abstracts the protocol-specific details of physic and logic replication.
With each connection open with replication options associate own instance ReplicationProtocol.
Modifier and Type | Method and Description |
---|---|
PGReplicationStream |
startLogical(LogicalReplicationOptions options) |
PGReplicationStream |
startPhysical(PhysicalReplicationOptions options) |
PGReplicationStream startLogical(LogicalReplicationOptions options) throws SQLException
options
- not null options for logical replication streamSQLException
- on errorPGReplicationStream startPhysical(PhysicalReplicationOptions options) throws SQLException
options
- not null options for physical replication streamSQLException
- on errorCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.