Modifier and Type | Class and Description |
---|---|
class |
BoundedMeter
A BoundedMeter enforces an upper bound, provides an approver callback for
changes and allocates from an optional parent.
|
class |
ThrottledMeter
A ThrottledMeter with bandwidth limit, an approver callback for requests and
allocates from an optional parent.
|
Modifier and Type | Method and Description |
---|---|
static NotifyingMeter |
NotifyingMeter.create(ResourceType type,
ResourceApprover approver)
Returns a new NotifyingMeter with the type and approver.
|
static NotifyingMeter |
NotifyingMeter.create(ResourceType type,
ResourceRequest parent,
ResourceApprover approver)
Returns a new NotifyingMeter with the type, approver and parent approver.
|
Copyright © 2014, 2015, Oracle and/or its affiliates. All rights reserved.