Modifier and Type | Method and Description |
---|---|
CallerContext |
CallerContext.clone() |
CallerContext |
ThrottleContext.getCallerContext(java.lang.String id)
To get the runtime states of a remote caller
|
CallerContext |
ThrottleDataHolder.getCallerContext(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
static javax.cache.Cache<java.lang.String,CallerContext> |
ThrottleUtil.getThrottleCache() |
Modifier and Type | Method and Description |
---|---|
void |
ThrottleContext.addAndFlushCallerContext(CallerContext callerContext,
java.lang.String id)
To add the caller and replicates the states of the given caller
|
void |
ThrottleContext.addCallerContext(CallerContext callerContext,
java.lang.String id)
setting callerContext - put callersMap against time and
put time against remote caller id (ip/domain)
|
void |
ThrottleDataHolder.addCallerContext(java.lang.String id,
CallerContext callerContext) |
void |
ThrottleContext.flushCallerContext(CallerContext callerContext,
java.lang.String id)
To replicates the states of the already exist caller
|
Modifier and Type | Method and Description |
---|---|
static CallerContext |
CallerContextFactory.createCaller(int throttletype,
java.lang.String id)
To create a CallerContext(the run time data holder for a remote caller)
for the given throttle type.
|
Modifier and Type | Class and Description |
---|---|
class |
DomainBaseCallerContext
Caller Context implementation for domain name based throttle type caller
|
Modifier and Type | Class and Description |
---|---|
class |
IPBaseCallerContext
Caller Context implementation for ip name based throttle type caller
|
Modifier and Type | Class and Description |
---|---|
class |
RoleBaseCallerContext |
Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.