public final class ResourceCatalogImpl extends Object implements ResourceCatalog
ResourceCatalog.Descriptor| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RACK |
| Modifier and Type | Method and Description |
|---|---|
NodeDescriptor |
getNode(String id)
Get the node descriptor with the given identifier.
|
Collection<NodeDescriptor> |
getNodes()
The global list of resources.
|
Collection<RackDescriptor> |
getRacks()
The global list of racks.
|
void |
handle(NodeDescriptorEvent node) |
String |
toString() |
public static final String DEFAULT_RACK
public Collection<NodeDescriptor> getNodes()
ResourceCataloggetNodes in interface ResourceCatalogpublic Collection<RackDescriptor> getRacks()
ResourceCataloggetRacks in interface ResourceCatalogpublic NodeDescriptor getNode(String id)
ResourceCataloggetNode in interface ResourceCatalogid - id of the node.public void handle(NodeDescriptorEvent node)
Copyright © 2017 The Apache Software Foundation. All rights reserved.