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 |
NotifyingMeter
A NotifyingMeter 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 SimpleMeter |
SimpleMeter.create(ResourceType type)
Returns a new SimpleMeter with the ResourceType.
|
static SimpleMeter |
SimpleMeter.create(ResourceType type,
ResourceRequest parent)
Returns a new SimpleMeter with the ResourceType and allocating from a parent.
|
Copyright © 2014, 2015, Oracle and/or its affiliates. All rights reserved.