Class BaseImmutableReplicatorConfiguration

  • Direct Known Subclasses:
    ImmutableReplicatorConfiguration

    public class BaseImmutableReplicatorConfiguration
    extends Object
    A bit odd. Why are these properties not simply properties on the AbstractReplicator object? Because they are mandated by a spec: https://docs.google.com/document/d/16XmIOw7aZ_NcFc6Dy6fc1jV7sc994r6iv5qm9_J7qKo/edit#heading=h.kt1n12mtpzx4
    • Method Detail

      • getDatabase

        @NonNull
        public final Database getDatabase()
      • isPush

        public final boolean isPush()
      • isPull

        public final boolean isPull()
      • isContinuous

        public final boolean isContinuous()
      • getAuthenticator

        @Nullable
        public final Authenticator getAuthenticator()
      • getPinnedServerCertificate

        @Nullable
        public final byte[] getPinnedServerCertificate()
      • getChannels

        @Nullable
        public final List<String> getChannels()
      • getDocumentIDs

        @Nullable
        public final List<String> getDocumentIDs()
      • getConflictResolver

        @Nullable
        public final ConflictResolver getConflictResolver()
      • getMaxRetryAttempts

        public final int getMaxRetryAttempts()
      • getMaxRetryAttemptWaitTime

        public final int getMaxRetryAttemptWaitTime()
      • getHeartbeat

        public final int getHeartbeat()
      • isAutoPurgeEnabled

        public final boolean isAutoPurgeEnabled()
      • getTarget

        @NonNull
        public final Endpoint getTarget()
      • addConnectionOptions

        public void addConnectionOptions​(@NonNull
                                         Map<String,​Object> options)