public static class ReplicatorBuilder.Push extends ReplicatorBuilder<Datastore,java.net.URI,ReplicatorBuilder.Push>
ReplicatorBuilder.Pull, ReplicatorBuilder.Push
Constructor and Description |
---|
Push() |
Modifier and Type | Method and Description |
---|---|
ReplicatorBuilder.Push |
batchLimitPerRun(int batchLimitPerRun)
Sets the number of batches to push in one replication run
|
Replicator |
build()
Builds a replicator based on the configuration set.
|
ReplicatorBuilder.Push |
bulkInsertSize(int bulkInsertSize)
Sets the number of documents to bulk insert into the CouchDB instance at a time
|
ReplicatorBuilder.Push |
changeLimitPerBatch(int changeLimitPerBatch)
Sets the number of changes to fetch from the _changes feed per batch
|
ReplicatorBuilder.Push |
filter(PushFilter filter)
Sets the filter to use for this replication
|
ReplicatorBuilder.Push |
pushAttachmentsInline(PushAttachmentsInline pushAttachmentsInline)
Sets the strategy to decide whether to push attachments inline or separately
|
addRequestInterceptors, addRequestInterceptors, addResponseInterceptors, addResponseInterceptors, from, pull, push, start, to, withId
public Replicator build()
ReplicatorBuilder
build
in class ReplicatorBuilder<Datastore,java.net.URI,ReplicatorBuilder.Push>
Replicator
that will carry out the replicationpublic ReplicatorBuilder.Push filter(PushFilter filter)
filter
- the filter to use for this replicationReplicatorBuilder
public ReplicatorBuilder.Push changeLimitPerBatch(int changeLimitPerBatch)
changeLimitPerBatch
- The number of changes to fetch from the _changes feed per batchReplicatorBuilder
public ReplicatorBuilder.Push batchLimitPerRun(int batchLimitPerRun)
batchLimitPerRun
- The number of batches to push in one replication runReplicatorBuilder
public ReplicatorBuilder.Push bulkInsertSize(int bulkInsertSize)
bulkInsertSize
- The number of documents to bulk insert into the CouchDB instance at a timeReplicatorBuilder
public ReplicatorBuilder.Push pushAttachmentsInline(PushAttachmentsInline pushAttachmentsInline)
pushAttachmentsInline
- The strategy to decide whether to push attachments inline or separatelyReplicatorBuilder