Uses of Class
org.opencastproject.serviceregistry.api.ServiceRegistryException
Packages that use ServiceRegistryException
Package
Description
Service implementation classes
Utility classes for dealing with media packages, collections, URLs, files, and streams.
-
Uses of ServiceRegistryException in org.opencastproject.job.api
Methods in org.opencastproject.job.api that throw ServiceRegistryExceptionModifier and TypeMethodDescriptionvoidAsks the job producer to handle the given job using the provided operation and list of arguments.voidAsks the job producer to handle the given job using the provided operation and list of arguments.longAbstractJobProducer.countJobs(Job.Status status) Get the number of jobs in a current status on all nodes.longJobProducer.countJobs(Job.Status status) Get the number of jobs in a current status on all nodes.booleanAbstractJobProducer.isReadyToAccept(Job job) Whether the job can be accepted.booleanJobProducer.isReadyToAccept(Job job) Whether the job can be accepted.booleanAbstractJobProducer.isReadyToAcceptJobs(String operation) Whether new jobs can be accepted in general.booleanJobProducer.isReadyToAcceptJobs(String operation) Whether new jobs can be accepted in general. -
Uses of ServiceRegistryException in org.opencastproject.rest
Methods in org.opencastproject.rest that throw ServiceRegistryExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseAbstractJobProducerEndpoint.dispatchJob(long jobId, String jobOperation) -
Uses of ServiceRegistryException in org.opencastproject.serviceregistry.api
Methods in org.opencastproject.serviceregistry.api that throw ServiceRegistryExceptionModifier and TypeMethodDescriptionlongServiceRegistry.count(String serviceType, String host, String operation, Job.Status status) Count the number of jobs executing the given operation in thisJob.Statuson this host.longServiceRegistry.count(String serviceType, Job.Status status) Count the number of jobs that match the specified parameters.longServiceRegistryInMemoryImpl.count(String serviceType, String host, String operation, Job.Status status) Count the number of jobs executing the given operation in thisJob.Statuson this host.longServiceRegistryInMemoryImpl.count(String serviceType, Job.Status status) Count the number of jobs that match the specified parameters.longServiceRegistry.countByHost(String serviceType, String host, Job.Status status) Count the number of jobs in thisJob.Statuson this hostlongServiceRegistryInMemoryImpl.countByHost(String serviceType, String host, Job.Status status) Count the number of jobs in thisJob.Statuson this hostlongServiceRegistry.countByOperation(String serviceType, String operation, Job.Status status) Count the number of jobs running the given operation in thisJob.Status.longServiceRegistryInMemoryImpl.countByOperation(String serviceType, String operation, Job.Status status) Count the number of jobs running the given operation in thisJob.Status.Create and store a new job that will be dispatched as soon as possible.Create and store a new job that will be dispatched as soon as possible.Create and store a new job that will be dispatched as soon as possible.ServiceRegistry.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable) Create and store a new job.ServiceRegistry.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable, Float jobLoad) Create and store a new job.ServiceRegistry.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable, Job parentJob, Float jobLoad) Create and store a new job.Create and store a new job that will be dispatched as soon as possible.Create and store a new job that will be dispatched as soon as possible.ServiceRegistryInMemoryImpl.createJob(String type, String operation, List<String> arguments, Float jobLoad) Create and store a new job that will be dispatched as soon as possible.ServiceRegistryInMemoryImpl.createJob(String type, String operation, List<String> arguments, String payload) ServiceRegistryInMemoryImpl.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable) Create and store a new job.ServiceRegistryInMemoryImpl.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable, Float jobLoad) Create and store a new job.ServiceRegistryInMemoryImpl.createJob(String type, String operation, List<String> arguments, String payload, boolean queueable, Job parentJob, Float jobLoad) Create and store a new job.voidServiceRegistry.disableHost(String host) Disables a Opencast server from service.voidServiceRegistryInMemoryImpl.disableHost(String host) Disables a Opencast server from service.protected booleanServiceRegistryInMemoryImpl.dispatchJob(Job job) Dispatches the job to the least loaded service or throws aServiceUnavailableExceptionif there is no such service.voidServiceRegistry.enableHost(String host) Enable an inactive host as a provider of Opencast services.voidServiceRegistryInMemoryImpl.enableHost(String host) Enable an inactive host as a provider of Opencast services.ServiceRegistry.getActiveJobs()Get the list of active jobs.ServiceRegistryInMemoryImpl.getActiveJobs()Get the list of active jobs.ServiceRegistry.getChildJobs(long id) Get all child jobs from a jobServiceRegistryInMemoryImpl.getChildJobs(long id) Get all child jobs from a jobServiceRegistry.getCurrentHostLoads()Gets a map of hosts to the number of jobs currently loading that hostServiceRegistry.getHostRegistration(String hostname) Finds host registration for the given hostname.ServiceRegistryInMemoryImpl.getHostRegistration(String hostname) ServiceRegistry.getHostRegistrations()Finds all host registrations, including offline hosts and those in maintenance mode.ServiceRegistryInMemoryImpl.getHostRegistrations()ServiceRegistry.getJob(long id) Gets a receipt by its ID, or null if not foundServiceRegistryInMemoryImpl.getJob(long id) Gets a receipt by its ID, or null if not foundintServiceRegistry.getJobCount(String operation) Return the number of jobs for a specified operation type.intServiceRegistryInMemoryImpl.getJobCount(String operation) ServiceRegistry.getJobPayloads(String operation) Return the payload of all jobs for a specified operation type.ServiceRegistry.getJobPayloads(String operation, int limit, int offset) Return the payload of a specified number of jobs for a specified operation type.ServiceRegistryInMemoryImpl.getJobPayloads(String operation) ServiceRegistryInMemoryImpl.getJobPayloads(String operation, int limit, int offset) ServiceRegistry.getJobs(String serviceType, Job.Status status) Gets the list of jobs that match the specified parameters.ServiceRegistryInMemoryImpl.getJobs(String serviceType, Job.Status status) Gets the list of jobs that match the specified parameters.ServiceRegistry.getMaxLoadOnNode(String host) Returns the maximum load that can be handled by a given node.ServiceRegistryInMemoryImpl.getMaxLoadOnNode(String host) Returns the maximum load that can be handled by a given node.ServiceRegistry.getMaxLoads()Returns the maximum load that can be handled by the currently registered hosts.ServiceRegistryInMemoryImpl.getMaxLoads()Returns the maximum load that can be handled by the currently registered hosts.floatServiceRegistry.getOwnLoad()Gets the load value for the current host (ie, the host this service registry lives onServiceRegistry.getServiceRegistration(String serviceType, String host) Finds a single service registration by host and type, even if the service is offline or in maintenance mode.ServiceRegistryInMemoryImpl.getServiceRegistration(String serviceType, String host) Finds a single service registration by host and type, even if the service is offline or in maintenance mode.ServiceRegistry.getServiceRegistrations()Finds all service registrations, including offline services and those in maintenance mode.ServiceRegistryInMemoryImpl.getServiceRegistrations()Finds all service registrations, including offline services and those in maintenance mode.ServiceRegistry.getServiceRegistrationsByHost(String host) Finds the service registrations on the given host, including offline services and those in maintenance mode.ServiceRegistryInMemoryImpl.getServiceRegistrationsByHost(String host) Finds the service registrations on the given host, including offline services and those in maintenance mode.ServiceRegistry.getServiceRegistrationsByLoad(String serviceType) Finds the service registrations for this kind of job, ordered by load (lightest to heaviest).ServiceRegistryInMemoryImpl.getServiceRegistrationsByLoad(String serviceType) Finds the service registrations for this kind of job, ordered by load (lightest to heaviest).ServiceRegistry.getServiceRegistrationsByType(String serviceType) Finds the service registrations for this kind of job, including offline services and those in maintenance mode.ServiceRegistryInMemoryImpl.getServiceRegistrationsByType(String serviceType) Finds the service registrations for this kind of job, including offline services and those in maintenance mode.ServiceRegistry.getServiceStatistics()Gets performance and runtime statistics for each known service registration.ServiceRegistryInMemoryImpl.getServiceStatistics()Gets performance and runtime statistics for each known service registration.voidServiceRegistry.registerHost(String host, String address, String nodeName, long memory, int cores, float maxLoad) Registers a host as a provider of Opencast services.voidServiceRegistryInMemoryImpl.registerHost(String host, String address, String nodeName, long memory, int cores, float maxLoad) Registers a host as a provider of Opencast services.ServiceRegistry.registerService(String serviceType, String host, String path) Registers a host to handle a specific type of jobServiceRegistry.registerService(String serviceType, String host, String path, boolean jobProducer) Registers a host to handle a specific type of jobServiceRegistryInMemoryImpl.registerService(String serviceType, String host, String path) Registers a host to handle a specific type of jobServiceRegistryInMemoryImpl.registerService(String serviceType, String host, String path, boolean jobProducer) Registers a host to handle a specific type of jobServiceRegistryInMemoryImpl.registerService(JobProducer localService) Method to register locally running services.ServiceRegistryInMemoryImpl.registerService(JobProducer localService, float maxLoad) Method to register locally running services.voidServiceRegistry.removeJobs(List<Long> ids) Deletes the given jobs from the service registryvoidServiceRegistryInMemoryImpl.removeJobs(List<Long> ids) voidServiceRegistry.removeParentlessJobs(int lifetime) Removes all jobs which do not have a parent job (except workflow instance jobs) and which have passed their lifetime.voidServiceRegistryInMemoryImpl.removeParentlessJobs(int lifetime) voidServiceRegistry.setMaintenanceStatus(String host, boolean maintenance) Sets a registered host's maintenance statusvoidServiceRegistry.unregisterHost(String host) Removes an Opencast server from service.voidServiceRegistryInMemoryImpl.unregisterHost(String host) Removes an Opencast server from service.voidServiceRegistryInMemoryImpl.unregisterService(JobProducer localService) Removes the job producer from the service registry.voidServiceRegistry.unRegisterService(String serviceType, String host) Unregisters a host from handling a specific type of jobvoidServiceRegistryInMemoryImpl.unRegisterService(String serviceType, String host) Unregisters a host from handling a specific type of jobUpdate the job in the databaseUpdate the job in the databaseConstructors in org.opencastproject.serviceregistry.api that throw ServiceRegistryExceptionModifierConstructorDescriptionServiceRegistryInMemoryImpl(JobProducer service, float maxLoad, SecurityService securityService, UserDirectoryService userDirectoryService, OrganizationDirectoryService organizationDirectoryService, IncidentService incidentService) ServiceRegistryInMemoryImpl(JobProducer service, SecurityService securityService, UserDirectoryService userDirectoryService, OrganizationDirectoryService organizationDirectoryService, IncidentService incidentService) -
Uses of ServiceRegistryException in org.opencastproject.util
Methods in org.opencastproject.util that throw ServiceRegistryExceptionModifier and TypeMethodDescriptionJobUtil.getPayload(ServiceRegistry reg, Job job) Update the job from the service registry and get its payload.JobUtil.update(ServiceRegistry reg, Job job) Get the latest state of a job.