public class V3ReplicationProtocol extends java.lang.Object implements ReplicationProtocol
| Constructor and Description |
|---|
V3ReplicationProtocol(QueryExecutor queryExecutor,
PGStream pgStream) |
| Modifier and Type | Method and Description |
|---|---|
PGReplicationStream |
startLogical(LogicalReplicationOptions options) |
PGReplicationStream |
startPhysical(PhysicalReplicationOptions options) |
public V3ReplicationProtocol(QueryExecutor queryExecutor, PGStream pgStream)
public PGReplicationStream startLogical(LogicalReplicationOptions options) throws java.sql.SQLException
startLogical in interface ReplicationProtocoloptions - not null options for logical replication streamjava.sql.SQLException - on errorpublic PGReplicationStream startPhysical(PhysicalReplicationOptions options) throws java.sql.SQLException
startPhysical in interface ReplicationProtocoloptions - not null options for physical replication streamjava.sql.SQLException - on errorCopyright © 2021 PostgreSQL Global Development Group. All rights reserved.