Package 

Class WorkManagerReplicatorConfiguration


  • 
    public final class WorkManagerReplicatorConfiguration
    extends AbstractWorkManagerReplicatorConfiguration
                        

    Configuration for a ReplicatorWorker. A subclass of WorkManagerReplicatorFactory produces one of these that describes the Replicator that will be run by the WorkManager.

    This class hides the following properties of a com.couchbase.lite.ReplicatorConfiguration:

    • continuous - Use OneTimeWorkRequestBuilder or PeriodicWorkRequestBuilder

    • maxAttempts - Use WorkRequest.Builder.setBackoffCriteria()

    • maxAttemptWaitTime - Use WorkRequest.Builder.setBackoffCriteria()

    • heartbeat - N/A: no connection will be kept alive