| Modifier and Type | Method and Description |
|---|---|
| public ReplicationSlotInfo | Returns: ReplicationSlotInfo with the information of the created slot.Create slot with specified parameters in database. |
| public T | Returns: T a slot buildernot null unique replication slot name for create. 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. |
| public T | Returns: T a slot builderTemporary slots are not saved to disk and are automatically dropped on error or when the session has finished. |
| make | back to summary |
|---|---|
| public ReplicationSlotInfo make() throws SQLException Create slot with specified parameters in database.
| |
| withSlotName | back to summary |
|---|---|
| public T withSlotName(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.
| |
| withTemporaryOption | back to summary |
|---|---|
| public T withTemporaryOption() throws SQLFeatureNotSupportedException Temporary slots are not saved to disk and are automatically dropped on error or when the session has finished. This feature is only supported by PostgreSQL versions >= 10.
| |