Interface ChainedCommonCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void make()
      Create slot with specified parameters in database.
      T withSlotName​(java.lang.String slotName)
      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.
    • Method Detail

      • withSlotName

        T withSlotName​(java.lang.String slotName)
        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.
        Parameters:
        slotName - not null unique replication slot name for create.
        Returns:
        T a slot builder
      • make

        void make()
           throws java.sql.SQLException
        Create slot with specified parameters in database.
        Throws:
        java.sql.SQLException - on error