public class InternalReplicationDriverImpl extends BaseArangoDriver implements InternalReplicationDriver
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationHandler |
annotationHandler |
protected static String |
COLLECTION |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
createDocumentEndpointUrl, createDocumentHandle, createDocumentHandle, createEndpointUrl, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, createGharialEndpointUrl, createIndexEndpointUrl, createJobEndpointUrl, createUserEndpointUrl, getJSONResponseText, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpManager, setHttpManagerprotected static final String COLLECTION
protected ArangoConfigure configure
protected HttpManager httpManager
protected AnnotationHandler annotationHandler
public ReplicationInventoryEntity getReplicationInventory(String database, Boolean includeSystem) throws ArangoException
getReplicationInventory in interface InternalReplicationDriverArangoExceptionpublic <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 InternalReplicationDriverArangoExceptionpublic ReplicationSyncEntity syncReplication(String localDatabase, String endpoint, String database, String username, String password, RestrictType restrictType, String... restrictCollections) throws ArangoException
syncReplication in interface InternalReplicationDriverArangoExceptionpublic String getReplicationServerId() throws ArangoException
getReplicationServerId in interface InternalReplicationDriverArangoExceptionpublic boolean startReplicationLogger(String database) throws ArangoException
startReplicationLogger in interface InternalReplicationDriverArangoExceptionpublic boolean stopReplicationLogger(String database) throws ArangoException
stopReplicationLogger in interface InternalReplicationDriverArangoExceptionpublic ReplicationLoggerConfigEntity getReplicationLoggerConfig(String database) throws ArangoException
getReplicationLoggerConfig in interface InternalReplicationDriverArangoExceptionpublic ReplicationLoggerConfigEntity setReplicationLoggerConfig(String database, Boolean autoStart, Boolean logRemoteChanges, Long maxEvents, Long maxEventsSize) throws ArangoException
setReplicationLoggerConfig in interface InternalReplicationDriverArangoExceptionpublic ReplicationLoggerStateEntity getReplicationLoggerState(String database) throws ArangoException
getReplicationLoggerState in interface InternalReplicationDriverArangoExceptionpublic ReplicationApplierConfigEntity getReplicationApplierConfig(String database) throws ArangoException
getReplicationApplierConfig in interface InternalReplicationDriverArangoExceptionpublic ReplicationApplierConfigEntity setReplicationApplierConfig(String localDatabase, 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 InternalReplicationDriverArangoExceptionpublic ReplicationApplierConfigEntity setReplicationApplierConfig(String database, ReplicationApplierConfigEntity param) throws ArangoException
setReplicationApplierConfig in interface InternalReplicationDriverArangoExceptionpublic ReplicationApplierStateEntity startReplicationApplier(String database, Long from) throws ArangoException
startReplicationApplier in interface InternalReplicationDriverArangoExceptionpublic ReplicationApplierStateEntity stopReplicationApplier(String database) throws ArangoException
stopReplicationApplier in interface InternalReplicationDriverArangoExceptionpublic ReplicationApplierStateEntity getReplicationApplierState(String database) throws ArangoException
getReplicationApplierState in interface InternalReplicationDriverArangoExceptionpublic HttpManager getHttpManager()
getHttpManager in interface BaseDriverInterfacepublic void setHttpManager(HttpManager httpManager)
setHttpManager in interface BaseDriverInterfaceCopyright © 2012–2016 ArangoDB GmbH. All rights reserved.