Package com.couchbase.lite
Class Defaults.Replicator
java.lang.Object
com.couchbase.lite.Defaults.Replicator
- Enclosing class:
- Defaults
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanWhether or not a replicator only accepts cookies for the sender's parent domainsstatic final booleanOne-shot replication is used, and will stop once all initial changes are processedstatic final booleanPurge documents when a user loses accessstatic final intA heartbeat messages is sent every 300 seconds to keep the connection alivestatic final intMax wait time between retry attempts in secondsstatic final intWhen replicator is continuous, never give up unless explicitly stoppedstatic final intWhen replicator is not continuous, after 10 failed attempts give up on the replicationstatic final booleanWhether or not a replicator only accepts self-signed certificates from the remotestatic final ReplicatorTypePerform 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:
-