Class ReplicationSlot
java.lang.Object
io.r2dbc.postgresql.replication.ReplicationSlot
Information returned on replication slot creation.
Returned keys of CREATE_REPLICATION_SLOT:
- slot_name String 
=>the slot name - consistent_point String 
=>LSN at which we became consistent - snapshot_name String 
=>exported snapshot's name (may benull) - output_plugin String 
=>output plugin (may benull) 
- 
Constructor Summary
ConstructorsConstructorDescriptionReplicationSlot(String slotName, ReplicationType replicationType, LogSequenceNumber consistentPoint, String snapshotName, String outputPlugin)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns theLSNat which we became consistent.Returns the output plugin used on slot creation.Replication type of the slot created,PHYSICALorLOGICAL.Returns the replication slot name.Returns the exported snapshot name at the point of replication slot creation. 
- 
Constructor Details
- 
ReplicationSlot
public ReplicationSlot(String slotName, ReplicationType replicationType, LogSequenceNumber consistentPoint, @Nullable String snapshotName, @Nullable String outputPlugin)  
 - 
 - 
Method Details
- 
getSlotName
 - 
getReplicationType
Replication type of the slot created,PHYSICALorLOGICAL.- Returns:
 ReplicationType,PHYSICALorLOGICAL
 - 
getConsistentPoint
Returns theLSNat which we became consistent.- Returns:
 LogSequenceNumberatconsistent_point
 - 
getSnapshotName
Returns the exported snapshot name at the point of replication slot creation.As long as the exporting transaction remains open, other transactions can import its snapshot, and thereby be guaranteed that they see exactly the same view of the database that the first transaction sees.
- Returns:
 - exported 
snapshot_name 
 - 
getOutputPlugin
 
 -