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