Couchdb 在/\u replicate下使用Ektorp命名的复制
我正在使用ektorp的ReplicationCommand.Builder()创建复制,如下所示:Couchdb 在/\u replicate下使用Ektorp命名的复制,couchdb,couchbase,ektorp,Couchdb,Couchbase,Ektorp,我正在使用ektorp的ReplicationCommand.Builder()创建复制,如下所示: ReplicationCommand replicationCommand = new ReplicationCommand.Builder() .source(sourceDB) .target(targetDB) .continuous(isContinuous) .build(); couchD
ReplicationCommand replicationCommand = new ReplicationCommand.Builder()
.source(sourceDB)
.target(targetDB)
.continuous(isContinuous)
.build();
couchDbInstance.replicate(replicationCommand);
这不会在\u replicator
db下创建文档
在我的应用程序中,我最终创建了多个复制,我可能会使用相同的源-目标组合设置多个复制。当我必须取消(多个复制中的一个)时,我最终会取消具有该源-目标组合的所有复制
ReplicationCommand replicationCommand = new ReplicationCommand.Builder()
.source(sourceDB)
.target(targetDB)
.continuous(isContinuous)
.cancel(isContinuous)
.build();
couchDbInstance.replicate(replicationCommand);
我希望命名复制(如通过futon完成时在\u replicator
中),以便取消重复的复制
我该怎么做
问候,,
维杰