Uses of Interface
org.opencastproject.serviceregistry.api.ServiceRegistry
Packages that use ServiceRegistry
Package
Description
Service implementation classes
Utility classes for dealing with media packages, collections, URLs, files, and streams.
-
Uses of ServiceRegistry in org.opencastproject.job.api
Methods in org.opencastproject.job.api that return ServiceRegistryModifier and TypeMethodDescriptionprotected abstract ServiceRegistryAbstractJobProducer.getServiceRegistry()Returns a reference to the service registry.OsgiAbstractJobProducer.getServiceRegistry()Methods in org.opencastproject.job.api with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoidOsgiAbstractJobProducer.setServiceRegistry(ServiceRegistry serviceRegistry) Constructors in org.opencastproject.job.api with parameters of type ServiceRegistryModifierConstructorDescriptionJobBarrier(Job waiter, ServiceRegistry registry) Creates a barrier without any jobs, usingregistryto poll for the outcome of the monitored jobs using the default polling intervalJobBarrier.DEFAULT_POLLING_INTERVAL.JobBarrier(Job waiter, ServiceRegistry registry, long pollingInterval) Creates a wrapper forjob, usingregistryto poll for the job outcome.JobBarrier(Job waiter, ServiceRegistry registry, long pollingInterval, Job... jobs) Creates a wrapper forjob, usingregistryto poll for the job outcome.JobBarrier(Job waiter, ServiceRegistry registry, Job... jobs) Creates a barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling intervalJobBarrier.DEFAULT_POLLING_INTERVAL. -
Uses of ServiceRegistry in org.opencastproject.rest
Methods in org.opencastproject.rest that return ServiceRegistryModifier and TypeMethodDescriptionabstract ServiceRegistryAbstractJobProducerEndpoint.getServiceRegistry()Return the service registry.OsgiAbstractJobProducerEndpoint.getServiceRegistry()Methods in org.opencastproject.rest with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoidOsgiAbstractJobProducerEndpoint.setServiceRegistry(ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.opencastproject.serviceregistry.api
Classes in org.opencastproject.serviceregistry.api that implement ServiceRegistryModifier and TypeClassDescriptionclassSimple and in-memory implementation of a the service registry intended for testing scenarios.Fields in org.opencastproject.serviceregistry.api declared as ServiceRegistryModifier and TypeFieldDescriptionprotected ServiceRegistryRemoteBase.remoteServiceManagerThe http clientMethods in org.opencastproject.serviceregistry.api with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoidRemoteBase.setRemoteServiceManager(ServiceRegistry remoteServiceManager) Sets the remote service manager.Constructors in org.opencastproject.serviceregistry.api with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.opencastproject.util
Methods in org.opencastproject.util with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic floatLoadUtil.getConfiguredLoadValue(Dictionary bundleProperties, String configKey, Float defaultValue, ServiceRegistry registry) static floatLoadUtil.getConfiguredLoadValue(Map<String, Object> properties, String configKey, Float defaultValue, ServiceRegistry registry) JobUtil.getPayload(ServiceRegistry reg, Job job) Update the job from the service registry and get its payload.static MediaPackageElementJobUtil.payloadAsMediaPackageElement(Job waiter, ServiceRegistry reg, Job job) Interpret the payload of a completedJobas aMediaPackageElement.static MediaPackageElementJobUtil.payloadAsMediaPackageElement(ServiceRegistry reg, Job job) Interpret the payload of a completedJobas aMediaPackageElement.JobUtil.update(ServiceRegistry reg, Job job) Get the latest state of a job.static JobBarrier.ResultJobUtil.waitForJob(Job waiter, ServiceRegistry reg, Optional<Long> timeout, Job job) Check ifjobis not done yet and wait in case.static JobBarrier.ResultJobUtil.waitForJob(Job waiter, ServiceRegistry reg, Job job) Check ifjobis not done yet and wait in case.static JobBarrier.ResultJobUtil.waitForJob(ServiceRegistry reg, Optional<Long> timeout, Job job) Check ifjobis not done yet and wait in case.static JobBarrier.ResultJobUtil.waitForJob(ServiceRegistry reg, Job job) Check ifjobis not done yet and wait in case.static JobBarrier.ResultJobUtil.waitForJobs(Job waiter, ServiceRegistry reg, long pollingInterval, long timeout, Job... jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static JobBarrier.ResultJobUtil.waitForJobs(Job waiter, ServiceRegistry reg, long timeout, Job... jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static JobBarrier.ResultJobUtil.waitForJobs(Job waiter, ServiceRegistry reg, Collection<Job> jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static JobBarrier.ResultJobUtil.waitForJobs(Job waiter, ServiceRegistry reg, Job... jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static JobBarrier.ResultJobUtil.waitForJobs(ServiceRegistry reg, Collection<Job> jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static JobBarrier.ResultJobUtil.waitForJobs(ServiceRegistry reg, Job... jobs) Waits for the result of a created barrier forjobs, usingregistryto poll for the outcome of the monitored jobs using the default polling interval.static booleanJobUtil.waitForJobSuccess(Job waiter, ServiceRegistry reg, Optional<Long> timeout, Job job) Wait for the job to complete and return the success value.