クラス PGReplicationConnectionImpl
java.lang.Object
org.postgresql.replication.PGReplicationConnectionImpl
- すべての実装されたインタフェース:
PGReplicationConnection
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明Create replication slot, that can be next use inPGReplicationConnection.replicationStream()
void
dropReplicationSlot
(String slotName) After start replication stream this connection not available to use for another queries until replication stream will not close.
-
コンストラクタの詳細
-
PGReplicationConnectionImpl
-
-
メソッドの詳細
-
replicationStream
インタフェースからコピーされた説明:PGReplicationConnection
After start replication stream this connection not available to use for another queries until replication stream will not close.- 定義:
replicationStream
インタフェース内PGReplicationConnection
- 戻り値:
- not null fluent api for build replication stream
-
createReplicationSlot
インタフェースからコピーされた説明:PGReplicationConnection
Create replication slot, that can be next use in
PGReplicationConnection.replicationStream()
Replication slots provide an automated way to ensure that the master does not remove WAL segments until they have been received by all standbys, and that the master does not remove rows which could cause a recovery conflict even when the standby is disconnected.
- 定義:
createReplicationSlot
インタフェース内PGReplicationConnection
- 戻り値:
- not null fluent api for build create replication slot
-
dropReplicationSlot
- 定義:
dropReplicationSlot
インタフェース内PGReplicationConnection
- パラメータ:
slotName
- not null replication slot name exists in database that should be drop- 例外:
SQLException
- if the replication slot cannot be dropped.
-