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 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 ResourceMeter Modifier and Type Method Description ResourceMeterResourceContext. 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 voidResourceContext. addResourceMeter(ResourceMeter meter)Add a ResourceMeter.default booleanResourceContext. removeResourceMeter(ResourceMeter meter)Remove the ResourceMeter from the ResourceContext.longResourceApprover. request(ResourceMeter meter, long previous, long amount, ResourceId id)Requests approval to allocate or release a resource from a ResourceMeter.
-