public class InternalJobsDriverImpl extends BaseArangoDriver implements InternalJobsDriver
Modifier and Type | Field and Description |
---|---|
protected AnnotationHandler |
annotationHandler |
protected static String |
COLLECTION |
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) |
createDocumentEndpointUrl, createDocumentHandle, createDocumentHandle, createEndpointUrl, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, createGharialEndpointUrl, createIndexEndpointUrl, createJobEndpointUrl, createUserEndpointUrl, getJSONResponseText, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpManager, setHttpManager
protected static final String COLLECTION
protected ArangoConfigure configure
protected HttpManager httpManager
protected AnnotationHandler annotationHandler
public List<String> getJobs(String database, JobsEntity.JobState jobState, int count) throws ArangoException
getJobs
in interface InternalJobsDriver
ArangoException
public List<String> getJobs(String database, JobsEntity.JobState jobState) throws ArangoException
getJobs
in interface InternalJobsDriver
ArangoException
public void deleteAllJobs(String database) throws ArangoException
deleteAllJobs
in interface InternalJobsDriver
ArangoException
public void deleteJobById(String database, String jobId) throws ArangoException
deleteJobById
in interface InternalJobsDriver
ArangoException
public void deleteExpiredJobs(String database, int timeStamp) throws ArangoException
deleteExpiredJobs
in interface InternalJobsDriver
ArangoException
public <T> T getJobResult(String database, String jobId) throws ArangoException
getJobResult
in interface InternalJobsDriver
ArangoException
public HttpManager getHttpManager()
getHttpManager
in interface BaseDriverInterface
public void setHttpManager(HttpManager httpManager)
setHttpManager
in interface BaseDriverInterface
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.