public interface ThrottlingConfiguration
Modifier and Type | Method and Description |
---|---|
Map<ThrottleScope,ThrottleProps> |
getProperties()
Gets all throttling properties.
|
ThrottleProps |
getThrottleProps(ThrottleScope inScope)
Gets throttle properties for most equal scope.
|
boolean |
isThrottlingDisabled()
Is throttling disabled at all?
|
@Nullable ThrottleProps getThrottleProps(ThrottleScope inScope)
inScope
- the scope of the incoming requestnull
if there is no properties for specified scopeMap<ThrottleScope,ThrottleProps> getProperties()
boolean isThrottlingDisabled()
true
for disablingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.