public class InternalReplicationDriverImpl extends BaseArangoDriver implements InternalReplicationDriver
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
createDocumentHandle, createDocumentHandle, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpManager, setHttpManager
protected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public ReplicationInventoryEntity getReplicationInventory(String database, Boolean includeSystem) throws ArangoException
getReplicationInventory
in interface InternalReplicationDriver
ArangoException
public <T> void getReplicationDump(String database, String collectionName, Long from, Long to, Integer chunkSize, Boolean ticks, Class<T> clazz, DumpHandler<T> handler) throws ArangoException
getReplicationDump
in interface InternalReplicationDriver
ArangoException
public ReplicationSyncEntity syncReplication(String _database, String endpoint, String database, String username, String password, RestrictType restrictType, String... restrictCollections) throws ArangoException
syncReplication
in interface InternalReplicationDriver
ArangoException
public String getReplicationServerId() throws ArangoException
getReplicationServerId
in interface InternalReplicationDriver
ArangoException
public boolean startReplicationLogger(String database) throws ArangoException
startReplicationLogger
in interface InternalReplicationDriver
ArangoException
public boolean stopReplicationLogger(String database) throws ArangoException
stopReplicationLogger
in interface InternalReplicationDriver
ArangoException
public ReplicationLoggerConfigEntity getReplicationLoggerConfig(String database) throws ArangoException
getReplicationLoggerConfig
in interface InternalReplicationDriver
ArangoException
public ReplicationLoggerConfigEntity setReplicationLoggerConfig(String database, Boolean autoStart, Boolean logRemoteChanges, Long maxEvents, Long maxEventsSize) throws ArangoException
setReplicationLoggerConfig
in interface InternalReplicationDriver
ArangoException
public ReplicationLoggerStateEntity getReplicationLoggerState(String database) throws ArangoException
getReplicationLoggerState
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierConfigEntity getReplicationApplierConfig(String database) throws ArangoException
getReplicationApplierConfig
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierConfigEntity setReplicationApplierConfig(String _database, String endpoint, String database, String username, String password, Integer maxConnectRetries, Integer connectTimeout, Integer requestTimeout, Integer chunkSize, Boolean autoStart, Boolean adaptivePolling) throws ArangoException
setReplicationApplierConfig
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierConfigEntity setReplicationApplierConfig(String database, ReplicationApplierConfigEntity param) throws ArangoException
setReplicationApplierConfig
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierStateEntity startReplicationApplier(String database, Long from) throws ArangoException
startReplicationApplier
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierStateEntity stopReplicationApplier(String database) throws ArangoException
stopReplicationApplier
in interface InternalReplicationDriver
ArangoException
public ReplicationApplierStateEntity getReplicationApplierState(String database) throws ArangoException
getReplicationApplierState
in interface InternalReplicationDriver
ArangoException
public HttpManager getHttpManager()
getHttpManager
in interface BaseDriverInterface
public void setHttpManager(HttpManager httpManager)
setHttpManager
in interface BaseDriverInterface
Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.