public class AccessRateController
extends java.lang.Object
| Constructor and Description |
|---|
AccessRateController() |
| Modifier and Type | Method and Description |
|---|---|
AccessInformation |
canAccess(ThrottleContext throttleContext,
java.lang.String callerID,
int callerType)
To check whether caller can access not not base on the controlling policy
|
public AccessInformation canAccess(ThrottleContext throttleContext, java.lang.String callerID, int callerType) throws ThrottleException
throttleContext - - current states of throttle - RunTime DatacallerID - - Identifier for remote caller - ex: ip or domainnamecallerType - - the type of the callerThrottleExceptionCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.