public static interface ReplicationSlotRequest.PhysicalSlotRequestBuilder extends ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1, ReplicationSlotRequest.WithTemporary
| Modifier and Type | Method and Description |
|---|---|
ReplicationSlotRequest |
build()
Builds the physical
ReplicationSlotRequest. |
ReplicationSlotRequest.PhysicalSlotRequestBuilder |
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.
|
ReplicationSlotRequest.PhysicalSlotRequestBuilder |
temporary()
Temporary slots are not saved to disk and are automatically dropped on error or when
the session has finished.
|
ReplicationSlotRequest.PhysicalSlotRequestBuilder slotName(String slotName)
slotName in interface ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1slotName in interface ReplicationSlotRequest.WithSlotNameslotName - replication slot name for create, must not be null or emptythis builderReplicationSlotRequest.PhysicalSlotRequestBuilder temporary()
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.
temporary in interface ReplicationSlotRequest.WithTemporarythis builderReplicationSlotRequest build()
ReplicationSlotRequest.ReplicationSlotRequest.Copyright © 2024. All rights reserved.