クラス AbstractStreamBuilder<T extends ChainedCommonStreamBuilder<T>>

java.lang.Object
org.postgresql.replication.fluent.AbstractStreamBuilder<T>
すべての実装されたインタフェース:
ChainedCommonStreamBuilder<T>
直系の既知のサブクラス:
LogicalStreamBuilder, PhysicalStreamBuilder

public abstract class AbstractStreamBuilder<T extends ChainedCommonStreamBuilder<T>> extends Object implements ChainedCommonStreamBuilder<T>
  • フィールド詳細

    • statusIntervalMs

      protected int statusIntervalMs
    • startPosition

      protected LogSequenceNumber startPosition
    • slotName

      protected @Nullable String slotName
  • コンストラクタの詳細

    • AbstractStreamBuilder

      public AbstractStreamBuilder()
  • メソッドの詳細

    • self

      protected abstract T self()
    • withStatusInterval

      public T withStatusInterval(int time, TimeUnit format)
      インタフェースからコピーされた説明: ChainedCommonStreamBuilder
      Specifies the number of time 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.
      定義:
      withStatusInterval インタフェース内 ChainedCommonStreamBuilder<T extends ChainedCommonStreamBuilder<T>>
      パラメータ:
      time - positive time
      format - format for specified time
      戻り値:
      not null fluent
    • withStartPosition

      public T withStartPosition(LogSequenceNumber lsn)
      インタフェースからコピーされた説明: ChainedCommonStreamBuilder
      Specify start position from which backend will start stream changes. If parameter will not specify, streaming starts from restart_lsn. For more details see pg_replication_slots description.
      定義:
      withStartPosition インタフェース内 ChainedCommonStreamBuilder<T extends ChainedCommonStreamBuilder<T>>
      パラメータ:
      lsn - not null position from which need start replicate changes
      戻り値:
      not null fluent
    • withSlotName

      public T withSlotName(String slotName)
      インタフェースからコピーされた説明: ChainedCommonStreamBuilder
      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.
      定義:
      withSlotName インタフェース内 ChainedCommonStreamBuilder<T extends ChainedCommonStreamBuilder<T>>
      パラメータ:
      slotName - not null replication slot already exists on server.
      戻り値:
      this instance as a fluent interface