クラス PhysicalStreamBuilder
java.lang.Object
org.postgresql.replication.fluent.AbstractStreamBuilder<ChainedPhysicalStreamBuilder>
org.postgresql.replication.fluent.physical.PhysicalStreamBuilder
- すべての実装されたインタフェース:
ChainedCommonStreamBuilder<ChainedPhysicalStreamBuilder>
,CommonOptions
,ChainedPhysicalStreamBuilder
,PhysicalReplicationOptions
public class PhysicalStreamBuilder
extends AbstractStreamBuilder<ChainedPhysicalStreamBuilder>
implements ChainedPhysicalStreamBuilder, PhysicalReplicationOptions
-
フィールドの概要
クラスから継承されたフィールド org.postgresql.replication.fluent.AbstractStreamBuilder
slotName, startPosition, statusIntervalMs
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明@Nullable String
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.int
Specifies the number of millisecond between status packets sent back to the server.protected ChainedPhysicalStreamBuilder
self()
start()
Open physical replication stream.クラスから継承されたメソッド org.postgresql.replication.fluent.AbstractStreamBuilder
withSlotName, withStartPosition, withStatusInterval
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
インタフェースから継承されたメソッド org.postgresql.replication.fluent.ChainedCommonStreamBuilder
withSlotName, withStartPosition, withStatusInterval
-
コンストラクタの詳細
-
PhysicalStreamBuilder
- パラメータ:
startCallback
- not null callback that should be execute after build parameters for start replication
-
-
メソッドの詳細
-
self
-
start
インタフェースからコピーされた説明:ChainedPhysicalStreamBuilder
Open physical replication stream.- 定義:
start
インタフェース内ChainedPhysicalStreamBuilder
- 戻り値:
- not null PGReplicationStream available for fetch wal logs in binary form
- 例外:
SQLException
- on error
-
getSlotName
インタフェースからコピーされた説明:CommonOptions
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.- 定義:
getSlotName
インタフェース内CommonOptions
- 戻り値:
- nullable replication slot name that already exists on server and free.
-
getStartLSNPosition
- 定義:
getStartLSNPosition
インタフェース内CommonOptions
- 戻り値:
- the position to start replication. This cannot be null.
-
getStatusInterval
public int getStatusInterval()インタフェースからコピーされた説明:CommonOptions
Specifies the number of millisecond between status packets sent back to the server. This allows for easier monitoring of the progress from server. A value of zero disables the periodic status updates completely, although an update will still be sent when requested by the server, to avoid timeout disconnect. The default value is 10 seconds.- 定義:
getStatusInterval
インタフェース内CommonOptions
- 戻り値:
- the current status interval
-