| Package | Description |
|---|---|
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,SystemLoad.NodeLoad> |
SystemLoad.nodeLoads
The list of nodes and their current load
|
| Modifier and Type | Method and Description |
|---|---|
SystemLoad.NodeLoad |
SystemLoad.get(String host)
Gets a specific host from the map, if present.
|
SystemLoad.NodeLoad |
ServiceRegistryInMemoryImpl.getMaxLoadOnNode(String host)
Returns the maximum load that can be handled by a given node.
|
SystemLoad.NodeLoad |
ServiceRegistry.getMaxLoadOnNode(String host)
Returns the maximum load that can be handled by a given node.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<SystemLoad.NodeLoad> |
SystemLoad.getNodeLoads()
Get the list of nodes and their current loadfactor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SystemLoad.addNodeLoad(SystemLoad.NodeLoad load)
Adds a node to the map of load values, overwriting an existing entry if the node is already present in the map
|
int |
SystemLoad.NodeLoad.compareTo(SystemLoad.NodeLoad other) |
boolean |
SystemLoad.NodeLoad.exceeds(SystemLoad.NodeLoad other) |
| Modifier and Type | Method and Description |
|---|---|
void |
SystemLoad.setNodeLoads(Collection<SystemLoad.NodeLoad> newLoads)
Sets the list of nodes and their current loadfactor.
|
Copyright © 2009–2020 Opencast Project. All rights reserved.