| Package | Description |
|---|---|
| org.opencastproject.job.api | |
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| Modifier and Type | Method and Description |
|---|---|
Job.Status |
Job.getStatus()
Gets the receipt's current
Job.Status |
Job.Status |
JobImpl.getStatus() |
static Job.Status |
Job.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.Status[] |
Job.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Job,Job.Status> |
JobBarrier.Result.getStatus()
Returns the status details.
|
| Modifier and Type | Method and Description |
|---|---|
long |
AbstractJobProducer.countJobs(Job.Status status)
Get the number of jobs in a current status on all nodes.
|
long |
JobProducer.countJobs(Job.Status status)
Get the number of jobs in a current status on all nodes.
|
void |
Job.setStatus(Job.Status status) |
void |
JobImpl.setStatus(Job.Status status) |
void |
Job.setStatus(Job.Status status,
Job.FailureReason reason)
Sets the receipt's current
Job.Status along with the Job.FailureReason to indicate why - in the case of
failure - the job failed. |
void |
JobImpl.setStatus(Job.Status status,
Job.FailureReason reason) |
| Constructor and Description |
|---|
JobImpl(long id,
String creator,
String organization,
long version,
String jobType,
String operation,
List<String> arguments,
Job.Status status,
String createdHost,
String processingHost,
Date dateCreated,
Date dateStarted,
Date dateCompleted,
Long queueTime,
Long runTime,
String payload,
Long parentJobId,
Long rootJobId,
boolean dispatchable,
URI uri,
Float load) |
| Constructor and Description |
|---|
Result(Map<Job,Job.Status> status)
Creates a new job barrier result.
|
| Modifier and Type | Field and Description |
|---|---|
protected static List<Job.Status> |
ServiceRegistryInMemoryImpl.JOB_STATUSES_INFLUENCING_LOAD_BALANCING
A static list of statuses that influence how load balancing is calculated
|
| Modifier and Type | Method and Description |
|---|---|
long |
ServiceRegistry.count(String serviceType,
Job.Status status)
Count the number of jobs that match the specified parameters.
|
long |
ServiceRegistryInMemoryImpl.count(String serviceType,
Job.Status status)
Count the number of jobs that match the specified parameters.
|
long |
ServiceRegistry.count(String serviceType,
String host,
String operation,
Job.Status status)
Count the number of jobs executing the given operation in this
Job.Status on this host. |
long |
ServiceRegistryInMemoryImpl.count(String serviceType,
String host,
String operation,
Job.Status status)
Count the number of jobs executing the given operation in this
Job.Status on this host. |
long |
ServiceRegistry.countByHost(String serviceType,
String host,
Job.Status status)
Count the number of jobs in this
Job.Status on this host |
long |
ServiceRegistryInMemoryImpl.countByHost(String serviceType,
String host,
Job.Status status)
Count the number of jobs in this
Job.Status on this host |
long |
ServiceRegistry.countByOperation(String serviceType,
String operation,
Job.Status status)
Count the number of jobs running the given operation in this
Job.Status. |
long |
ServiceRegistryInMemoryImpl.countByOperation(String serviceType,
String operation,
Job.Status status)
Count the number of jobs running the given operation in this
Job.Status. |
List<Job> |
ServiceRegistry.getJobs(String serviceType,
Job.Status status)
Gets the list of jobs that match the specified parameters.
|
List<Job> |
ServiceRegistryInMemoryImpl.getJobs(String serviceType,
Job.Status status)
Gets the list of jobs that match the specified parameters.
|
Copyright © 2009–2021 Opencast Project. All rights reserved.