public class InternalJobsDriverImpl extends BaseArangoDriver implements InternalJobsDriver
http://www.arangodb.com/manuals/current/HttpImport.html| Modifier and Type | Field and Description |
|---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllJobs(String database) |
void |
deleteExpiredJobs(String database,
int timeStamp) |
void |
deleteJobById(String database,
String JobId) |
HttpManager |
getHttpManager() |
<T> T |
getJobResult(String database,
String jobId) |
List<String> |
getJobs(String database,
JobsEntity.JobState jobState) |
List<String> |
getJobs(String database,
JobsEntity.JobState jobState,
int count) |
void |
setHttpManager(HttpManager httpManager) |
createDocumentHandle, createDocumentHandle, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpManager, setHttpManagerprotected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public List<String> getJobs(String database, JobsEntity.JobState jobState, int count) throws ArangoException
getJobs in interface InternalJobsDriverArangoExceptionpublic List<String> getJobs(String database, JobsEntity.JobState jobState) throws ArangoException
getJobs in interface InternalJobsDriverArangoExceptionpublic void deleteAllJobs(String database) throws ArangoException
deleteAllJobs in interface InternalJobsDriverArangoExceptionpublic void deleteJobById(String database, String JobId) throws ArangoException
deleteJobById in interface InternalJobsDriverArangoExceptionpublic void deleteExpiredJobs(String database, int timeStamp) throws ArangoException
deleteExpiredJobs in interface InternalJobsDriverArangoExceptionpublic <T> T getJobResult(String database, String jobId) throws ArangoException
getJobResult in interface InternalJobsDriverArangoExceptionpublic HttpManager getHttpManager()
getHttpManager in interface BaseDriverInterfacepublic void setHttpManager(HttpManager httpManager)
setHttpManager in interface BaseDriverInterfaceCopyright © 2012–2015 ArangoDB GmbH. All rights reserved.