Uses of Interface
jdk.management.resource.ResourceMeter
-
Packages that use ResourceMeter Package Description jdk.management.resource Resource tracking contexts, meters, and factories. -
-
Uses of ResourceMeter in jdk.management.resource
Classes in jdk.management.resource that implement ResourceMeter Modifier and Type Class Description class
BoundedMeter
A BoundedMeter enforces an upper bound, provides an approver callback for changes and allocates from an optional parent.class
NotifyingMeter
A NotifyingMeter provides an approver callback for changes and allocates from an optional parent.class
SimpleMeter
A SimpleMeter counts resource requests and releases and allocates from an optional parent.class
ThrottledMeter
A ThrottledMeter with bandwidth limit, an approver callback for requests and allocates from an optional parent.Methods in jdk.management.resource that return ResourceMeter Modifier and Type Method Description ResourceMeter
ResourceContext. getMeter(ResourceType type)
Return the ResourceMeter for the ResourceType.Methods in jdk.management.resource that return types with arguments of type ResourceMeter Modifier and Type Method Description Stream<ResourceMeter>
ResourceContext. meters()
Returns a Stream of ResourceMeters in the ResourceContext.Methods in jdk.management.resource with parameters of type ResourceMeter Modifier and Type Method Description default void
ResourceContext. addResourceMeter(ResourceMeter meter)
Add a ResourceMeter.default boolean
ResourceContext. removeResourceMeter(ResourceMeter meter)
Remove the ResourceMeter from the ResourceContext.long
ResourceApprover. request(ResourceMeter meter, long previous, long amount, ResourceId id)
Requests approval to allocate or release a resource from a ResourceMeter.
-