Interface ReplicationRequest.WithSlotName

All Known Subinterfaces:
ReplicationRequest.LogicalReplicationRequestBuilder, ReplicationRequest.LogicalReplicationStep1, ReplicationRequest.LogicalReplicationStep2, ReplicationRequest.PhysicalReplicationRequestBuilder, ReplicationRequest.PhysicalReplicationStep1, ReplicationRequest.PhysicalReplicationStep2
Enclosing class:
ReplicationRequest

public static interface ReplicationRequest.WithSlotName
Fluent builder interface fragment to associate the builder with the slot name.
  • Method Summary

    Modifier and Type
    Method
    Description
    slotName(String slotName)
    Replication slots provide an automated way to ensure that the primary does not remove WAL segments until they have been received by all standbys, and that the primary does not remove rows which could cause a recovery conflict even when the standby is disconnected.
  • Method Details

    • slotName

      Replication slots provide an automated way to ensure that the primary does not remove WAL segments until they have been received by all standbys, and that the primary does not remove rows which could cause a recovery conflict even when the standby is disconnected.
      Parameters:
      slotName - not null replication slot already exists on server
      Returns:
      this builder
      Throws:
      IllegalArgumentException - if slotName is null or empty