public interface ResourceUsage
Modifier and Type | Method and Description |
---|---|
AppID |
getAppID()
Gets the
AppID of the application associated with the set
of resources contained in the usage. |
ResourceProxy |
getResource(String resourceName)
Gets the instance of
ResourceProxy corresponding to a resource name returned
by the getResourceNames method of this ResourceUsage. |
String[] |
getResourceNames()
Gets the array of resource names associated with the resource reservation.
|
AppID getAppID()
AppID
of the application associated with the set
of resources contained in the usage.String[] getResourceNames()
ResourceProxy getResource(String resourceName)
ResourceProxy
corresponding to a resource name returned
by the getResourceNames method of this ResourceUsage. This method will return null if
the resource is not yet reserved. This method provides information to distinguish
which resources in the ResourceUsage have already been reserved. Since DAVIC resource
API reserves resource in one by one manner, the ResourceUsage may include both
reserved and unreserved resources.resourceName
- The fully qualified java name for a resource included in this
ResourceUsage.ResourceProxy
corresponding to the resourceName.IllegalArgumentException
- if the resourceName is not in the list of fully
qualified java class names returned by the method getResourceNames()Copyright © 2013 CableLabs. All rights reserved.