Class 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 domains
      static boolean CONTINUOUS
      One-shot replication is used, and will stop once all initial changes are processed
      static boolean ENABLE_AUTO_PURGE
      Purge documents when a user loses access
      static int HEARTBEAT
      A heartbeat messages is sent every 300 seconds to keep the connection alive
      static int MAX_ATTEMPT_WAIT_TIME
      Max wait time between retry attempts in seconds
      static int MAX_ATTEMPTS_CONTINUOUS
      When replicator is continuous, never give up unless explicitly stopped
      static int MAX_ATTEMPTS_SINGLE_SHOT
      When replicator is not continuous, after 10 failed attempts give up on the replication
      static boolean SELF_SIGNED_CERTIFICATE_ONLY
      Whether or not a replicator only accepts self-signed certificates from the remote
      static ReplicatorType TYPE
      Perform bidirectional replication
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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