public interface ResourceCatalog
This catalog contains static information about the resources and does not reflect that dynamic availability of resources. In other words: Its entries are an upper bound to what is available to a REEF Driver at any given moment in time.
Modifier and Type | Interface and Description |
---|---|
static interface |
ResourceCatalog.Descriptor
Resource descriptor interface.
|
Modifier and Type | Method and Description |
---|---|
NodeDescriptor |
getNode(String nodeId)
Get the node descriptor with the given identifier.
|
Collection<NodeDescriptor> |
getNodes()
The global list of resources.
|
Collection<RackDescriptor> |
getRacks()
The global list of racks.
|
Collection<NodeDescriptor> getNodes()
Collection<RackDescriptor> getRacks()
NodeDescriptor getNode(String nodeId)
nodeId
- id of the node.Copyright © 2017 The Apache Software Foundation. All rights reserved.