Class AbstractCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>>
- java.lang.Object
-
- org.postgresql.replication.fluent.AbstractCreateSlotBuilder<T>
-
- All Implemented Interfaces:
ChainedCommonCreateSlotBuilder<T>
- Direct Known Subclasses:
LogicalCreateSlotBuilder
,PhysicalCreateSlotBuilder
public abstract class AbstractCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>> extends java.lang.Object implements ChainedCommonCreateSlotBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
slotName
-
Constructor Summary
Constructors Constructor Description AbstractCreateSlotBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
self()
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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.postgresql.replication.fluent.ChainedCommonCreateSlotBuilder
make
-
-
-
-
Method Detail
-
self
protected abstract T self()
-
withSlotName
public T withSlotName(java.lang.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 interfaceChainedCommonCreateSlotBuilder<T extends ChainedCommonCreateSlotBuilder<T>>
- Parameters:
slotName
- not null unique replication slot name for create.- Returns:
- T a slot builder
-
-