Package com.couchbase.lite.internal
Class BaseImmutableReplicatorConfiguration
- java.lang.Object
-
- com.couchbase.lite.internal.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConnectionOptions(Map<String,Object> options)
Authenticator
getAuthenticator()
List<String>
getChannels()
ConflictResolver
getConflictResolver()
Database
getDatabase()
List<String>
getDocumentIDs()
Map<String,String>
getHeaders()
int
getHeartbeat()
int
getMaxRetryAttempts()
int
getMaxRetryAttemptWaitTime()
byte[]
getPinnedServerCertificate()
ReplicationFilter
getPullFilter()
ReplicationFilter
getPushFilter()
Endpoint
getTarget()
ReplicatorType
getType()
boolean
isAutoPurgeEnabled()
boolean
isContinuous()
boolean
isPull()
boolean
isPush()
-
-
-
Method Detail
-
getDatabase
@NonNull public final Database getDatabase()
-
getType
@NonNull public final ReplicatorType getType()
-
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()
-
getPushFilter
@Nullable public final ReplicationFilter getPushFilter()
-
getPullFilter
@Nullable public final ReplicationFilter getPullFilter()
-
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()
-
-