| Package | Description |
|---|---|
| org.opencastproject.job.api | |
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| Modifier and Type | Method and Description |
|---|---|
JobBarrier.Result |
JobBarrier.getStatus()
Returns the resulting status map.
|
JobBarrier.Result |
JobBarrier.waitForJobs()
Waits for a status change and returns the new status.
|
JobBarrier.Result |
JobBarrier.waitForJobs(long timeout)
Waits for a status change on all jobs and returns.
|
| Modifier and Type | Method and Description |
|---|---|
static JobBarrier.Result |
JobUtil.waitForJob(Job waiter,
ServiceRegistry reg,
Job job)
Check if
job is not done yet and wait in case. |
static JobBarrier.Result |
JobUtil.waitForJob(Job waiter,
ServiceRegistry reg,
Option<Long> timeout,
Job job)
Check if
job is not done yet and wait in case. |
static JobBarrier.Result |
JobUtil.waitForJob(ServiceRegistry reg,
Job job)
Check if
job is not done yet and wait in case. |
static JobBarrier.Result |
JobUtil.waitForJob(ServiceRegistry reg,
Option<Long> timeout,
Job job)
Check if
job is not done yet and wait in case. |
static JobBarrier.Result |
JobUtil.waitForJobs(Job waiter,
ServiceRegistry reg,
Collection<Job> jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(Job waiter,
ServiceRegistry reg,
Job... jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(Job waiter,
ServiceRegistry reg,
long timeout,
Collection<Job> jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(Job waiter,
ServiceRegistry reg,
long timeout,
Job... jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(Job waiter,
ServiceRegistry reg,
long pollingInterval,
long timeout,
Job... jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(ServiceRegistry reg,
Collection<Job> jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(ServiceRegistry reg,
Job... jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(ServiceRegistry reg,
long timeout,
Collection<Job> jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
static JobBarrier.Result |
JobUtil.waitForJobs(ServiceRegistry reg,
long timeout,
Job... jobs)
Waits for the result of a created barrier for
jobs, using registry to poll for the
outcome of the monitored jobs using the default polling interval. |
| Modifier and Type | Method and Description |
|---|---|
static Function<Job,JobBarrier.Result> |
JobUtil.waitForJob(Job waiter,
ServiceRegistry reg,
Option<Long> timeout)
|
static Function<Job,JobBarrier.Result> |
JobUtil.waitForJob(ServiceRegistry reg,
Option<Long> timeout)
|
Copyright © 2009–2020 Opencast Project. All rights reserved.