| Package | Description |
|---|---|
| org.opencastproject.job.api | |
| org.opencastproject.rest | |
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceRegistry |
OsgiAbstractJobProducer.getServiceRegistry() |
protected abstract ServiceRegistry |
AbstractJobProducer.getServiceRegistry()
Returns a reference to the service registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OsgiAbstractJobProducer.setServiceRegistry(ServiceRegistry serviceRegistry) |
| Constructor and Description |
|---|
JobBarrier(Job waiter,
ServiceRegistry registry)
Creates a barrier without any jobs, using
registry to poll for the outcome of the monitored jobs using
the default polling interval JobBarrier.DEFAULT_POLLING_INTERVAL. |
JobBarrier(Job waiter,
ServiceRegistry registry,
Job... jobs)
Creates a barrier for
jobs, using registry to poll for the outcome of the monitored jobs
using the default polling interval JobBarrier.DEFAULT_POLLING_INTERVAL. |
JobBarrier(Job waiter,
ServiceRegistry registry,
long pollingInterval)
Creates a wrapper for
job, using registry to poll for the job outcome. |
JobBarrier(Job waiter,
ServiceRegistry registry,
long pollingInterval,
Job... jobs)
Creates a wrapper for
job, using registry to poll for the job outcome. |
| Modifier and Type | Method and Description |
|---|---|
ServiceRegistry |
OsgiAbstractJobProducerEndpoint.getServiceRegistry() |
abstract ServiceRegistry |
AbstractJobProducerEndpoint.getServiceRegistry()
Return the service registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OsgiAbstractJobProducerEndpoint.setServiceRegistry(ServiceRegistry serviceRegistry) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceRegistryInMemoryImpl
Simple and in-memory implementation of a the service registry intended for testing scenarios.
|
| Modifier and Type | Field and Description |
|---|---|
protected ServiceRegistry |
RemoteBase.remoteServiceManager
The http client
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteBase.setRemoteServiceManager(ServiceRegistry remoteServiceManager)
Sets the remote service manager.
|
| Constructor and Description |
|---|
Incidents(ServiceRegistry sr,
IncidentService is) |
| Modifier and Type | Method and Description |
|---|---|
static float |
LoadUtil.getConfiguredLoadValue(Dictionary bundleProperties,
String configKey,
Float defaultValue,
ServiceRegistry registry) |
static com.entwinemedia.fn.data.Opt<String> |
JobUtil.getPayload(ServiceRegistry reg,
Job job)
Update the job from the service registry and get its payload.
|
static Function<Job,MediaPackageElement> |
JobUtil.payloadAsMediaPackageElement(Job waiter,
ServiceRegistry reg)
Interpret the payload of a completed
Job as a MediaPackageElement. |
static Function<Job,MediaPackageElement> |
JobUtil.payloadAsMediaPackageElement(ServiceRegistry reg)
Interpret the payload of a completed
Job as a MediaPackageElement. |
static com.entwinemedia.fn.data.Opt<Job> |
JobUtil.update(ServiceRegistry reg,
Job job)
Get the latest state of a job.
|
static JobBarrier.Result |
JobUtil.waitForJob(Job waiter,
ServiceRegistry reg,
Job job)
Check if
job is not done yet and wait in case. |
static Function<Job,JobBarrier.Result> |
JobUtil.waitForJob(Job waiter,
ServiceRegistry reg,
Option<Long> timeout)
|
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 Function<Job,JobBarrier.Result> |
JobUtil.waitForJob(ServiceRegistry reg,
Option<Long> timeout)
|
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. |
static Function<Job,Boolean> |
JobUtil.waitForJobSuccess(Job waiter,
ServiceRegistry reg,
Option<Long> timeout)
Wait for the job to complete and return the success value.
|
static Function<Job,Boolean> |
JobUtil.waitForJobSuccess(ServiceRegistry reg,
Option<Long> timeout)
Wait for the job to complete and return the success value.
|
Copyright © 2009–2020 Opencast Project. All rights reserved.