public class CallerContextFactory extends Object
Constructor and Description |
---|
CallerContextFactory() |
Modifier and Type | Method and Description |
---|---|
static CallerContext |
createCaller(int throttletype,
String id)
To create a CallerContext(the run time data holder for a remote caller)
for the given throttle type.
|
public static CallerContext createCaller(int throttletype, String id) throws ThrottleException
throttletype
- - The type of the throttleid
- - The id of the callerThrottleException
- - Throws for if the throttle type is unknownCopyright © 2005–2017 Apache Software Foundation. All rights reserved.