Class Defaults.Replicator

java.lang.Object
com.couchbase.lite.Defaults.Replicator
Enclosing class:
Defaults

public static final class Defaults.Replicator extends Object
  • Field Details

    • 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:
    • HEARTBEAT

      public static final int HEARTBEAT
      A 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_SHOT
      When replicator is not continuous, after 10 failed attempts give up on the replication
      See Also:
    • MAX_ATTEMPTS_CONTINUOUS

      public static final int MAX_ATTEMPTS_CONTINUOUS
      When replicator is continuous, never give up unless explicitly stopped
      See Also:
    • MAX_ATTEMPTS_WAIT_TIME

      public static final int MAX_ATTEMPTS_WAIT_TIME
      Max wait time between retry attempts in seconds
      See Also:
    • ENABLE_AUTO_PURGE

      public static final boolean ENABLE_AUTO_PURGE
      Purge documents when a user loses access
      See Also:
    • 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:
    • 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: