Package com.couchbase.lite
Class Defaults.Replicator
java.lang.Object
com.couchbase.lite.Defaults.Replicator
- Enclosing class:
- Defaults
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Whether or not a replicator only accepts cookies for the sender's parent domainsstatic final boolean
One-shot replication is used, and will stop once all initial changes are processedstatic final boolean
Purge documents when a user loses accessstatic final int
A heartbeat messages is sent every 300 seconds to keep the connection alivestatic final int
Max wait time between retry attempts in secondsstatic final int
When replicator is continuous, never give up unless explicitly stoppedstatic final int
When replicator is not continuous, after 10 failed attempts give up on the replicationstatic final boolean
Whether or not a replicator only accepts self-signed certificates from the remotestatic final ReplicatorType
Perform bidirectional replication -
Method Summary
-
Field Details
-
TYPE
Perform bidirectional replication -
CONTINUOUS
public static final boolean CONTINUOUSOne-shot replication is used, and will stop once all initial changes are processed- See Also:
-
HEARTBEAT
public static final int HEARTBEATA heartbeat messages is sent every 300 seconds to keep the connection alive- See Also:
-
MAX_ATTEMPTS_SINGLE_SHOT
public static final int MAX_ATTEMPTS_SINGLE_SHOTWhen replicator is not continuous, after 10 failed attempts give up on the replication- See Also:
-
MAX_ATTEMPTS_CONTINUOUS
public static final int MAX_ATTEMPTS_CONTINUOUSWhen replicator is continuous, never give up unless explicitly stopped- See Also:
-
MAX_ATTEMPT_WAIT_TIME
public static final int MAX_ATTEMPT_WAIT_TIMEMax wait time between retry attempts in seconds- See Also:
-
ENABLE_AUTO_PURGE
public static final boolean ENABLE_AUTO_PURGEPurge documents when a user loses access- See Also:
-
SELF_SIGNED_CERTIFICATE_ONLY
public static final boolean SELF_SIGNED_CERTIFICATE_ONLYWhether or not a replicator only accepts self-signed certificates from the remote- See Also:
-
ACCEPT_PARENT_COOKIES
public static final boolean ACCEPT_PARENT_COOKIESWhether or not a replicator only accepts cookies for the sender's parent domains- See Also:
-