public final class ReplicationParameters extends Object
| Modifier and Type | Method and Description |
|---|---|
ReplicationParameters |
baseDn(String baseDn)
Sets the base Dn of the data to be replicated.
|
ReplicationParameters |
connectionParamsForDestination(ConnectionParameters destinationParams)
Sets the connection parameters of the second server (destination) whose contents will be replicated.
|
static ReplicationParameters |
replicationParams()
Creates a builder for the replication parameters.
|
ReplicationParameters |
replicationPortDestination(int port)
Sets the replication port of the second server (destination) whose contents will be replicated.
|
ReplicationParameters |
replicationPortSource(int port)
Sets the replication port of the first server (source) whose contents will be replicated.
|
String |
toString() |
public static ReplicationParameters replicationParams()
public ReplicationParameters baseDn(String baseDn)
baseDn - the base Dnpublic ReplicationParameters replicationPortSource(int port)
The source server should correspond to the embedded server on which the replication operation is applied.
port - the replication portpublic ReplicationParameters replicationPortDestination(int port)
port - the replication portpublic ReplicationParameters connectionParamsForDestination(ConnectionParameters destinationParams)
destinationParams - The connection parameters for destination serverCopyright © 2010-2020 Wren Security. All Rights Reserved.