JobsDirectClientV1 class
Properties
-
controller
↔ dynamic
-
The controller reference.
read / write, inherited
-
counters
↔ CompositeCounters
-
The performance counters
read / write, inherited
-
dependencyResolver
↔ DependencyResolver
-
The dependency resolver to get controller reference.
read / write, inherited
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
logger
↔ CompositeLogger
-
The logger.
read / write, inherited
-
opened
↔ bool
-
The open flag.
read / write, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
abortJob(String correlationId, String jobId)
→ Future<JobV1>
-
Aborts job [...]
override
-
addJob(String correlationId, NewJobV1 newJob)
→ Future<JobV1>
-
Add new job from newJob. [...]
override
-
addUniqJob(String correlationId, NewJobV1 newJob)
→ Future<JobV1>
-
Add new job if not exist with same type and ref_jobId [...]
override
-
completeJob(String correlationId, String jobId)
→ Future<JobV1>
-
Completes job [...]
override
-
deleteJobById(String correlationId, String jobId)
→ Future<JobV1>
-
Deletes a job by it's unique jobId. [...]
override
-
deleteJobs(String correlationId)
→ Future
-
Removes all jobs [...]
override
-
extendJob(String correlationId, String jobId, num timeout)
→ Future<JobV1>
-
Extends job execution limit on timeout value [...]
override
-
getJobById(String correlationId, String jobId)
→ Future<JobV1>
-
Gets a job by its unique jobId. [...]
override
-
getJobs(String correlationId, FilterParams filter, PagingParams paging)
→ Future<DataPage<JobV1>>
-
Gets a page of jobs retrieved by a given filter. [...]
override
-
startJobById(String correlationId, String jobId, num timeout)
→ Future<JobV1>
-
Starts a job by its unique jobId. [...]
override
-
startJobByType(String correlationId, String jobType, num timeout, num maxRetries)
→ Future<JobV1>
-
Start fist free job by type [...]
override
-
close(String correlationId)
→ Future
-
Closes component and frees used resources. [...]
inherited
-
configure(ConfigParams config)
→ void
-
Configures component by passing configuration parameters. [...]
inherited
-
instrument(String correlationId, String name)
→ Timing
-
Adds instrumentation to log calls and measure call time.
It returns a Timing object that is used to end the time measurement. [...]
inherited
-
instrumentError(String correlationId, String name, dynamic err, [bool reerror = false])
→ void
-
Adds instrumentation to error handling. [...]
inherited
-
isOpen()
→ bool
-
Checks if the component is opened. [...]
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
open(String correlationId)
→ Future
-
Opens the component. [...]
inherited
-
setReferences(IReferences references)
→ void
-
Sets references to dependent components. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator. [...]
inherited