| Package | Description |
|---|---|
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| Modifier and Type | Class and Description |
|---|---|
class |
JaxbServiceRegistration
A record of a service that creates and manages receipts.
|
class |
ServiceRegistrationInMemoryImpl
Simple implementation of a service registration.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceRegistration |
ServiceStatistics.getServiceRegistration()
The service for which these statistics apply
|
ServiceRegistration |
JaxbServiceStatistics.getServiceRegistration()
The service for which these statistics apply
|
ServiceRegistration |
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.
|
ServiceRegistration |
ServiceRegistry.getServiceRegistration(String serviceType,
String host)
Finds a single service registration by host and type, even if the service is offline or in maintenance mode.
|
static ServiceRegistration |
ServiceRegistrationParser.parse(InputStream in)
Parses a stream representing a
ServiceRegistration |
static ServiceRegistration |
ServiceRegistrationParser.parseXml(String xml)
Parses an xml string representing a
ServiceRegistration |
ServiceRegistration |
ServiceRegistryInMemoryImpl.registerService(JobProducer localService)
Method to register locally running services.
|
ServiceRegistration |
ServiceRegistryInMemoryImpl.registerService(JobProducer localService,
float maxLoad)
Method to register locally running services.
|
ServiceRegistration |
ServiceRegistryInMemoryImpl.registerService(String serviceType,
String host,
String path)
Registers a host to handle a specific type of job
|
ServiceRegistration |
ServiceRegistry.registerService(String serviceType,
String host,
String path)
Registers a host to handle a specific type of job
|
ServiceRegistration |
ServiceRegistryInMemoryImpl.registerService(String serviceType,
String host,
String path,
boolean jobProducer)
Registers a host to handle a specific type of job
|
ServiceRegistration |
ServiceRegistry.registerService(String serviceType,
String host,
String path,
boolean jobProducer)
Registers a host to handle a specific type of job
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceRegistration> |
ServiceRegistryInMemoryImpl.getServiceRegistrations()
Finds all service registrations, including offline services and those in maintenance mode.
|
List<ServiceRegistration> |
ServiceRegistry.getServiceRegistrations()
Finds all service registrations, including offline services and those in maintenance mode.
|
List<ServiceRegistration> |
ServiceRegistryInMemoryImpl.getServiceRegistrationsByHost(String host)
Finds the service registrations on the given host, including offline services and those in maintenance mode.
|
List<ServiceRegistration> |
ServiceRegistry.getServiceRegistrationsByHost(String host)
Finds the service registrations on the given host, including offline services and those in maintenance mode.
|
List<ServiceRegistration> |
ServiceRegistryInMemoryImpl.getServiceRegistrationsByLoad(String serviceType)
Finds the service registrations for this kind of job, ordered by load (lightest to heaviest).
|
List<ServiceRegistration> |
ServiceRegistry.getServiceRegistrationsByLoad(String serviceType)
Finds the service registrations for this kind of job, ordered by load (lightest to heaviest).
|
List<ServiceRegistration> |
ServiceRegistryInMemoryImpl.getServiceRegistrationsByType(String serviceType)
Finds the service registrations for this kind of job, including offline services and those in maintenance mode.
|
List<ServiceRegistration> |
ServiceRegistry.getServiceRegistrationsByType(String serviceType)
Finds the service registrations for this kind of job, including offline services and those in maintenance mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JaxbServiceRegistrationList.add(ServiceRegistration registration) |
static String |
ServiceRegistrationParser.toXml(ServiceRegistration registration)
Gets an xml representation of a
ServiceRegistration |
static InputStream |
ServiceRegistrationParser.toXmlStream(ServiceRegistration registration)
Gets a serialized representation of a
ServiceRegistration |
| Constructor and Description |
|---|
JaxbServiceRegistration(ServiceRegistration serviceRegistration)
Creates a new JAXB annotated service registration based on an existing service registration
|
JaxbServiceStatistics(ServiceRegistration serviceRegistration)
Constructs a new service statistics instance without statistics.
|
Copyright © 2009–2021 Opencast Project. All rights reserved.