Package | Description |
---|---|
org.openhubframework.openhub.core.throttling |
Throttling problem solution.
|
org.openhubframework.openhub.spi.throttling |
Throttling problem solution.
|
Modifier and Type | Method and Description |
---|---|
Map<ThrottleScope,ThrottleProps> |
AbstractThrottlingConfiguration.getProperties()
Gets all throttling properties.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractThrottleCounter.count(ThrottleScope throttleScope,
int intervalSec) |
protected int |
ThrottleCounterMemoryImpl.doCount(ThrottleScope throttleScope,
int intervalSec) |
protected int |
ThrottleCounterHazelcastImpl.doCount(ThrottleScope throttleScope,
int intervalSec) |
protected abstract int |
AbstractThrottleCounter.doCount(ThrottleScope throttleScope,
int intervalSec)
Counts requests for specified throttle scope and time interval.
|
ThrottleProps |
AbstractThrottlingConfiguration.getThrottleProps(ThrottleScope inScope) |
void |
ThrottleProcessorImpl.throttle(ThrottleScope throttleScope) |
Modifier and Type | Method and Description |
---|---|
Map<ThrottleScope,ThrottleProps> |
ThrottlingConfiguration.getProperties()
Gets all throttling properties.
|
Modifier and Type | Method and Description |
---|---|
int |
ThrottleCounter.count(ThrottleScope throttleScope,
int interval)
Counts requests for specified throttle scope and time interval.
|
ThrottleProps |
ThrottlingConfiguration.getThrottleProps(ThrottleScope inScope)
Gets throttle properties for most equal scope.
|
int |
ThrottleScope.match(ThrottleScope that)
Tests if the throttling scopes match.
|
void |
ThrottlingProcessor.throttle(ThrottleScope throttleScope)
Throttle specified source system and service name.
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.