Interface ReplicationRequest.WithStatusInterval
- All Known Subinterfaces:
ReplicationRequest.LogicalReplicationRequestBuilder, ReplicationRequest.PhysicalReplicationRequestBuilder
- Enclosing class:
ReplicationRequest
public static interface ReplicationRequest.WithStatusInterval
Fluent builder interface fragment to associate the builder with status interval updates.
-
Method Summary
Modifier and TypeMethodDescriptionstatusInterval(Duration interval) Specifies the number of time between status packets sent back to the server.
-
Method Details
-
statusInterval
Specifies the number of time between status packets sent back to the server. This allows for easier monitoring of the progress from server. A value of zero disables the periodic status updates completely, although an update will still be sent when requested by the server, to avoid timeout disconnect. The default value is 10 seconds.- Parameters:
interval- positive time- Returns:
thisbuilder.- Throws:
IllegalArgumentException- ifintervalisnull
-