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