| Package | Description |
|---|---|
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HostRegistrationInMemory |
class |
JaxbHostRegistration
A record of a host.
|
| Modifier and Type | Method and Description |
|---|---|
HostRegistration |
ServiceRegistryInMemoryImpl.getHostRegistration(String hostname) |
HostRegistration |
ServiceRegistry.getHostRegistration(String hostname)
Finds host registration for the given hostname.
|
static HostRegistration |
HostRegistrationParser.parse(InputStream in)
Parses a stream representing a
HostRegistration |
static HostRegistration |
HostRegistrationParser.parseXml(String xml)
Parses an xml string representing a
HostRegistration |
| Modifier and Type | Method and Description |
|---|---|
List<HostRegistration> |
ServiceRegistryInMemoryImpl.getHostRegistrations() |
List<HostRegistration> |
ServiceRegistry.getHostRegistrations()
Finds all host registrations, including offline hosts and those in maintenance mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JaxbHostRegistrationList.add(HostRegistration registration) |
static String |
HostRegistrationParser.toXml(HostRegistration registration)
Gets an xml representation of a
HostRegistration |
static InputStream |
HostRegistrationParser.toXmlStream(HostRegistration registration)
Gets a serialized representation of a
HostRegistration |
| Constructor and Description |
|---|
JaxbHostRegistration(HostRegistration hostRegistration)
Creates a new JAXB host registration based on an existing host registration
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LoadUtil.checkJobFitsCluster(float load,
String loadType,
List<HostRegistration> hosts) |
Copyright © 2009–2020 Opencast Project. All rights reserved.