Uses of Interface
jdk.management.resource.ResourceRequest
-
Packages that use ResourceRequest Package Description jdk.management.resource Resource tracking contexts, meters, and factories. -
-
Uses of ResourceRequest in jdk.management.resource
Classes in jdk.management.resource that implement ResourceRequest Modifier and Type Class Description classBoundedMeterA BoundedMeter enforces an upper bound, provides an approver callback for changes and allocates from an optional parent.classNotifyingMeterA NotifyingMeter provides an approver callback for changes and allocates from an optional parent.classSimpleMeterA SimpleMeter counts resource requests and releases and allocates from an optional parent.classThrottledMeterA ThrottledMeter with bandwidth limit, an approver callback for requests and allocates from an optional parent.Methods in jdk.management.resource that return ResourceRequest Modifier and Type Method Description ResourceRequestSimpleMeter. getParent()Returns the parent ResourceRequest.ResourceRequestResourceContext. getResourceRequest(ResourceType type)Returns the ResourceRequest in the ResourceContext that handles requests to allocate or release for the ResourceType.ResourceRequestResourceContextFactory. getResourceRequest(ResourceType type)Returns the ResourceRequest for the current ResourceContext and ResourceType.Methods in jdk.management.resource with parameters of type ResourceRequest Modifier and Type Method Description static BoundedMeterBoundedMeter. create(ResourceType type, long bound, ResourceRequest parent)Returns a new BoundedMeter with the type, upper bound, and parent.static BoundedMeterBoundedMeter. create(ResourceType type, long bound, ResourceRequest parent, ResourceApprover approver)Returns a new BoundedMeter with the type, upper bound, parent, and approver.static NotifyingMeterNotifyingMeter. create(ResourceType type, ResourceRequest parent, ResourceApprover approver)Returns a new NotifyingMeter with the type, approver and parent approver.static SimpleMeterSimpleMeter. create(ResourceType type, ResourceRequest parent)Returns a new SimpleMeter with the ResourceType and allocating from a parent.static ThrottledMeterThrottledMeter. create(ResourceType type, long ratePerSec, ResourceRequest parent, ResourceApprover approver)Create a new meter with a throttle rate, parent and approver.static ThrottledMeterThrottledMeter. create(ResourceType type, ResourceRequest parent, ResourceApprover approver)Create a new meter with unlimited rate, parent and approver.Constructors in jdk.management.resource with parameters of type ResourceRequest Constructor Description BoundedMeter(ResourceType type, long bound, ResourceRequest parent, ResourceApprover approver)Constructor of a BoundedMeter.NotifyingMeter(ResourceType type, ResourceRequest parent, ResourceApprover approver)Constructor for subclasses.SimpleMeter(ResourceType type, ResourceRequest parent)Constructor for subclasses.
-