Interface ReplicationSlotRequest.WithSlotName

All Known Subinterfaces:
ReplicationSlotRequest.LogicalSlotRequestBuilder, ReplicationSlotRequest.LogicalSlotRequestBuilderStep1, ReplicationSlotRequest.LogicalSlotRequestBuilderStep2, ReplicationSlotRequest.PhysicalSlotRequestBuilder, ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1
Enclosing class:
ReplicationSlotRequest

public static interface ReplicationSlotRequest.WithSlotName
Fluent builder interface fragment to associate the builder with a 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 - replication slot name for create, must not be null or empty
      Returns:
      this builder
      Throws:
      IllegalArgumentException - if slotName is null or empty