Class AbstractCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>>

    • Field Detail

      • slotName

        protected String slotName
    • Constructor Detail

      • AbstractCreateSlotBuilder

        public AbstractCreateSlotBuilder()
    • Method Detail

      • self

        protected abstract T self()
      • withSlotName

        public T withSlotName​(String slotName)
        Description copied from interface: ChainedCommonCreateSlotBuilder
        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.
        Specified by:
        withSlotName in interface ChainedCommonCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>>
        Parameters:
        slotName - not null unique replication slot name for create.
        Returns:
        T a slot builder