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 java.sql.SQLException
options
- not null options for logical replication streamjava.sql.SQLException
- on errorPGReplicationStream startPhysical(PhysicalReplicationOptions options) throws java.sql.SQLException
options
- not null options for physical replication streamjava.sql.SQLException
- on error