インタフェース CommonOptions

既知のサブインタフェースのリスト:
LogicalReplicationOptions, PhysicalReplicationOptions
既知の実装クラスのリスト:
LogicalStreamBuilder, PhysicalStreamBuilder

public interface CommonOptions
Common parameters for logical and physical replication.
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    @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.
  • メソッドの詳細

    • getSlotName

      @Nullable String getSlotName()
      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.
      戻り値:
      nullable replication slot name that already exists on server and free.
    • getStartLSNPosition

      LogSequenceNumber getStartLSNPosition()
      戻り値:
      the position to start replication. This cannot be null.
    • getStatusInterval

      int getStatusInterval()
      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.
      戻り値:
      the current status interval