newConfig
Create a CollectionConfiguration, overriding the receiver's values with the passed parameters:
Parameters
Sync Gateway channel names.
IDs of documents to be replicated: default is all documents.
filter for pulled documents.
filter for pushed documents.
conflict resolver.
See also
Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the expressions to be matched.
See also
Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the expressions to be matched.
See also
Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the directory in which the logs files are stored.
the max size of the log file in bytes.
the number of rotated logs that are saved.
whether or not to log in plaintext.
See also
Create a DatabaseConfiguration, overriding the receiver's values with the passed parameters:
Parameters
The directory in which the database is stored.
See also
Create a ReplicatorConfiguration, overriding the receiver's values with the passed parameters.
Note: A document that is blocked by a document Id filter will not be auto-purged regardless of the setting of the enableAutoPurge property
Parameters
(required) The replication endpoint.
a map of collections to be replicated, to their configurations.
replicator type: push, pull, or push and pull: default is push and pull.
continuous flag: true for continuous, false by default.
connection authenticator.
extra HTTP headers to send in all requests to the remote target.
target server's SSL certificate.
max retry attempts after connection failure.
max time between retry attempts (exponential backoff).
heartbeat interval, in seconds.
auto-purge enabled.
Advanced: accept cookies for parent domains.
See also
Deprecated
Use ReplicatorConfigurationFactory.newConfig(Endpoint?, Map<Set<Collection>, CollectionConfiguration?>?, ...)
Create a ReplicatorConfiguration, overriding the receiver's values with the passed parameters:
Note: A document that is blocked by a document Id filter will not be auto-purged regardless of the setting of the enableAutoPurge property
Warning: This factory method configures only the default collection! Using it on a configuration that describes any collections other than the default will lose all information associated with those collections
Parameters
the local database.
(required) The replication endpoint.
replicator type: push, pull, or push and pull: default is push and pull.
continuous flag: true for continuous, false by default.
connection authenticator.
extra HTTP headers to send in all requests to the remote target.
target server's SSL certificate.
Sync Gateway channel names.
IDs of documents to be replicated: default is all documents.
filter for pushed documents.
filter for pulled documents.
conflict resolver.
max retry attempts after connection failure.
max time between retry attempts (exponential backoff).
heartbeat interval, in seconds.
auto-purge enabled.
Advanced: accept cookies for parent domains.