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