| Modifier and Type | Method and Description |
|---|---|
ThrottleConfiguration |
ThrottleContext.getThrottleConfiguration()
To get the ThrottleConfiguration
|
ThrottleConfiguration |
Throttle.getThrottleConfiguration(String key)
Returns the ThrottleConfiguration for a given key -
configuration holds all static data for registered callers
|
| Modifier and Type | Method and Description |
|---|---|
void |
Throttle.addThrottleConfiguration(String key,
ThrottleConfiguration throttleConfiguration)
Adds a ThrottleConfiguration with the given key - configuration
holds all static data for registered callers
|
| Constructor and Description |
|---|
ThrottleContext(ThrottleConfiguration throttleConfiguration,
ThrottleReplicator throttleReplicator)
default constructor – expects a throttle configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static ThrottleConfiguration |
ThrottleConfigurationFactory.createThrottleConfiguration(int throttletype)
To create a ThrottleConfiguration for the given throttle type
|
| Modifier and Type | Method and Description |
|---|---|
static ThrottleContext |
ThrottleContextFactory.createThrottleContext(int throttletype,
ThrottleConfiguration configuration)
To create a ThrottleContext for the given throttle type
Needs to provide a throttle configuration
|
| Modifier and Type | Class and Description |
|---|---|
class |
DomainBaseThrottleConfiguration
Holds all the controlling policy parameter for all domain names
|
| Constructor and Description |
|---|
DomainBaseThrottleContext(ThrottleConfiguration throttleConfiguration,
ThrottleReplicator replicator) |
| Modifier and Type | Class and Description |
|---|---|
class |
IPBaseThrottleConfiguration |
| Constructor and Description |
|---|
IPBaseThrottleContext(ThrottleConfiguration throttleConfiguration,
ThrottleReplicator replicator) |
| Modifier and Type | Class and Description |
|---|---|
class |
RoleBaseThrottleConfiguration |
| Constructor and Description |
|---|
RoleBaseThrottleContext(ThrottleConfiguration throttleConfiguration,
ThrottleReplicator throttleReplicator) |
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.