Interface | Description |
---|---|
ResourceApprover |
A ResourceApprover is a callback to approve resource
requests.
|
ResourceContext |
A set of ResourceMeters that accumulate resource usage by threads.
|
ResourceId |
ResourceId provides a name and accuracy for a resource instance.
|
ResourceMeter |
A resource meter with a current value and a ResourceType.
|
ResourceRequest |
A ResourceRequest is an interface to allocate or release resources.
|
Class | Description |
---|---|
BoundedMeter |
A BoundedMeter enforces an upper bound, provides an approver callback for
changes and allocates from an optional parent.
|
NotifyingMeter |
A NotifyingMeter provides an approver callback for changes and
allocates from an optional parent.
|
ResourceContextFactory |
The ResourceContextFactory provides access to ResourceContext functions.
|
ResourceType |
A ResourceType with a name.
|
SimpleMeter |
A SimpleMeter counts resource requests and releases
and allocates from an optional parent.
|
ThrottledMeter |
A ThrottledMeter with bandwidth limit, an approver callback for requests and
allocates from an optional parent.
|
Enum | Description |
---|---|
ResourceAccuracy |
ResourceAccuracy reflects the accuracy of an amount being requested though a
ResourceMeter.
|
Exception | Description |
---|---|
ResourceRequestDeniedException |
ResourceRequestDeniedException indicates a resource exception.
|
Copyright © 2014, 2015, Oracle and/or its affiliates. All rights reserved.