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 |
|---|---|
| public PGReplicationStream | Returns: not null stream instance from which available fetch wal logs that was decode by output pluginnot null options for logical replication stream options)
|
| public PGReplicationStream | Returns: not null stream instance from which available fetch wal logsnot null options for physical replication stream options)
|
| startLogical | back to summary |
|---|---|
public PGReplicationStream startLogical(LogicalReplicationOptions options) throws SQLException
| |
| startPhysical | back to summary |
|---|---|
public PGReplicationStream startPhysical(PhysicalReplicationOptions options) throws SQLException
| |