Uses of Class
org.opencastproject.serviceregistry.api.SystemLoad
Packages that use SystemLoad
Package
Description
Service implementation classes
-
Uses of SystemLoad in org.opencastproject.serviceregistry.api
Methods in org.opencastproject.serviceregistry.api that return SystemLoadModifier and TypeMethodDescriptionServiceRegistry.getCurrentHostLoads()Gets a map of hosts to the number of jobs currently loading that hostServiceRegistryInMemoryImpl.getCurrentHostLoads()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. -
Uses of SystemLoad in org.opencastproject.serviceregistry.impl
Methods in org.opencastproject.serviceregistry.impl that return SystemLoadModifier and TypeMethodDescriptionServiceRegistryJpaImpl.getCurrentHostLoads()Gets a map of hosts to the number of jobs currently loading that hostServiceRegistryJpaImpl.getMaxLoads()Returns the maximum load that can be handled by the currently registered hosts.Methods in org.opencastproject.serviceregistry.impl with parameters of type SystemLoadModifier 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.