| Package | Description |
|---|---|
| io.apiman.gateway.engine.components | |
| io.apiman.gateway.engine.impl | |
| io.apiman.gateway.engine.rates |
| Modifier and Type | Method and Description |
|---|---|
void |
IRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<Boolean> handler)
Adds another request to the given rate bucket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryRateLimiterComponent.accept(String bucketId,
RateBucketPeriod period,
int limit,
IAsyncResultHandler<Boolean> handler) |
| Modifier and Type | Method and Description |
|---|---|
static RateBucketPeriod |
RateBucketPeriod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateBucketPeriod[] |
RateBucketPeriod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RateLimiterBucket.resetIfNecessary(RateBucketPeriod period)
Resets the count if the period boundary has been crossed.
|
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.