static BoundedMeter |
BoundedMeter.create(ResourceType type,
long bound,
ResourceApprover approver) |
Returns a new BoundedMeter with the type, upper bound, and approver.
|
static BoundedMeter |
BoundedMeter.create(ResourceType type,
long bound,
ResourceRequest parent,
ResourceApprover approver) |
Returns a new BoundedMeter with the type, upper bound, parent, and
approver.
|
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.
|
static ThrottledMeter |
ThrottledMeter.create(ResourceType type,
long ratePerSec,
ResourceApprover approver) |
Create a new meter with a throttle rate and approver.
|
static ThrottledMeter |
ThrottledMeter.create(ResourceType type,
long ratePerSec,
ResourceRequest parent,
ResourceApprover approver) |
Create a new meter with a throttle rate, parent and approver.
|
static ThrottledMeter |
ThrottledMeter.create(ResourceType type,
ResourceRequest parent,
ResourceApprover approver) |
Create a new meter with unlimited rate, parent and approver.
|