-
-
-
Methods in jdk.management.resource with parameters of type ResourceId
Modifier and Type |
Method |
Description |
long |
ResourceApprover.request(ResourceMeter meter,
long previous,
long amount,
ResourceId id) |
Requests approval to allocate or release a resource from a
ResourceMeter.
|
long |
ResourceRequest.request(long amount,
ResourceId id) |
Request or release amount units of the resource.
|
long |
SimpleMeter.request(long amount,
ResourceId id) |
Returns the validated and allocated amount and adjusts the meter.
|
protected long |
BoundedMeter.validate(long previous,
long amount,
ResourceId id) |
|
protected long |
NotifyingMeter.validate(long previous,
long amount,
ResourceId id) |
Returns the amount validated by the approver.
|
protected long |
SimpleMeter.validate(long previous,
long amount,
ResourceId id) |
Validate the amount returning the validated amount.
|
long |
ThrottledMeter.validate(long previous,
long amount,
ResourceId id) |
Validates the amount.
|