Uses of Interface
org.opencastproject.serviceregistry.api.ServiceRegistration
Packages that use ServiceRegistration
Package
Description
Service implementation classes
-
Uses of ServiceRegistration in org.opencastproject.runtimeinfo
Methods in org.opencastproject.runtimeinfo with parameters of type ServiceRegistration -
Uses of ServiceRegistration in org.opencastproject.serviceregistry.api
Classes in org.opencastproject.serviceregistry.api that implement ServiceRegistrationModifier and TypeClassDescriptionclassA record of a service that creates and manages receipts.classSimple implementation of a service registration.Methods in org.opencastproject.serviceregistry.api that return ServiceRegistrationModifier and TypeMethodDescriptionJaxbServiceStatistics.getServiceRegistration()The service for which these statistics applyServiceRegistry.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.ServiceStatistics.getServiceRegistration()The service for which these statistics applyServiceRegistry.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.Methods in org.opencastproject.serviceregistry.api that return types with arguments of type ServiceRegistrationModifier and TypeMethodDescriptionServiceRegistry.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.Methods in org.opencastproject.serviceregistry.api with parameters of type ServiceRegistrationModifier and TypeMethodDescriptionvoidJaxbServiceRegistrationList.add(ServiceRegistration registration) Constructors in org.opencastproject.serviceregistry.api with parameters of type ServiceRegistrationModifierConstructorDescriptionJaxbServiceRegistration(ServiceRegistration serviceRegistration) Creates a new JAXB annotated service registration based on an existing service registrationJaxbServiceStatistics(ServiceRegistration serviceRegistration) Constructs a new service statistics instance without statistics. -
Uses of ServiceRegistration in org.opencastproject.serviceregistry.impl
Methods in org.opencastproject.serviceregistry.impl that return ServiceRegistrationModifier and TypeMethodDescriptionServiceRegistryJpaImpl.getServiceRegistration(String serviceType, String host) Finds a single service registration by host and type, even if the service is offline or in maintenance mode.ServiceRegistryJpaImpl.registerService(String serviceType, String baseUrl, String path) Registers a host to handle a specific type of jobServiceRegistryJpaImpl.registerService(String serviceType, String baseUrl, String path, boolean jobProducer) Registers a host to handle a specific type of jobprotected ServiceRegistrationServiceRegistryJpaImpl.setOnlineStatus(String serviceType, String baseUrl, String path, boolean online, Boolean jobProducer) Sets the online status of a service registration.Methods in org.opencastproject.serviceregistry.impl that return types with arguments of type ServiceRegistrationModifier and TypeMethodDescriptionServiceRegistryJpaImpl.getServiceRegistrations()Finds all service registrations, including offline services and those in maintenance mode.ServiceRegistryJpaImpl.getServiceRegistrationsByHost(String host) Finds the service registrations on the given host, including offline services and those in maintenance mode.ServiceRegistryJpaImpl.getServiceRegistrationsByLoad(String serviceType) Do not look at this, it will burn your eyes!protected List<ServiceRegistration> ServiceRegistryJpaImpl.getServiceRegistrationsByLoad(String jobType, List<ServiceRegistration> serviceRegistrations, List<HostRegistration> hostRegistrations, SystemLoad systemLoad) Returns a filtered list of service registrations, containing only those that are online, not in maintenance mode, and with a specific service type, ordered by load.ServiceRegistryJpaImpl.getServiceRegistrationsByType(String serviceType) Finds the service registrations for this kind of job, including offline services and those in maintenance mode.protected Function<javax.persistence.EntityManager, List<ServiceRegistration>> ServiceRegistryJpaImpl.getServiceRegistrationsQuery()Gets all service registrations.protected List<ServiceRegistration> ServiceRegistryJpaImpl.getServiceRegistrationsWithCapacity(String jobType, List<ServiceRegistration> serviceRegistrations, List<HostRegistration> hostRegistrations, SystemLoad systemLoad) Returns a filtered list of service registrations, containing only those that are online, not in maintenance mode, and with a specific service type that are running on a host which is not already maxed out.Method parameters in org.opencastproject.serviceregistry.impl with type arguments of type ServiceRegistrationModifier and TypeMethodDescriptionprotected List<ServiceRegistration> ServiceRegistryJpaImpl.getServiceRegistrationsByLoad(String jobType, List<ServiceRegistration> serviceRegistrations, List<HostRegistration> hostRegistrations, SystemLoad systemLoad) Returns a filtered list of service registrations, containing only those that are online, not in maintenance mode, and with a specific service type, ordered by load.protected List<ServiceRegistration> ServiceRegistryJpaImpl.getServiceRegistrationsWithCapacity(String jobType, List<ServiceRegistration> serviceRegistrations, List<HostRegistration> hostRegistrations, SystemLoad systemLoad) Returns a filtered list of service registrations, containing only those that are online, not in maintenance mode, and with a specific service type that are running on a host which is not already maxed out. -
Uses of ServiceRegistration in org.opencastproject.serviceregistry.impl.jmx
Methods in org.opencastproject.serviceregistry.impl.jmx with parameters of type ServiceRegistrationModifier and TypeMethodDescriptionvoidServicesStatistics.updateService(ServiceRegistration registration) -
Uses of ServiceRegistration in org.opencastproject.serviceregistry.impl.jpa
Classes in org.opencastproject.serviceregistry.impl.jpa that implement ServiceRegistrationModifier and TypeClassDescriptionclassA record of a service that creates and manages receipts.