Lines Matching defs:resource

35  * The <code>Resource</code> class represents a resource.
40 * The type of the resource.
44 * The system id of the resource.
48 * The key of the resource.
55 * @param resource The pointer to the native resource which
59 Resource(Configuration conf, long resource) throws PoolsException
62 Value val = getProperty("type", resource);
65 val = getProperty(type + ".name", resource);
72 * Returns a pointer to the native resouce represented by this resource
76 * @return a pointer to the native resource represented by this
77 * resource object.
85 * Transfer the requested quantity of resource from the donor to this
86 * resource.
88 * @param donor A donating resource.
89 * @param qty Amount of resource to be donated.
91 * resource.
102 * Transfer the specified resource components from the donor to this
103 * resource.
105 * @param donor A donating resource.
106 * @param components A list of resource components to be donated.
108 * resource components.
122 * this resource are searched.
148 * Returns a descriptive string which describes the resource.
152 * @throws PoolsException If the resource cannot be located.
153 * @return a descriptive string which describes the resource.
162 * Returns a string representation of this resource.
164 * @return a string representation of this resource.
211 * Return the pointer to this resource as an element.
213 * @return The pointer to the native resource which this object wraps.
215 * resource pointer to a native elem pointer.
228 * Return the type of the resource
236 * Return the name of the resource.
244 * Return the key of the resource.