T - corresponds to the flow control processing unitpublic abstract class FlowControlHandler<T> extends AbstractChainHandler
XDS_FLOW_CONTROL_CONFIG| Constructor and Description |
|---|
FlowControlHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getContextName()
gets the context cache name
|
protected List<T> |
getHandlersFromCache(String sourceName,
String cacheName)
gets the flow control processing unit
RateLimiter
Bulkhead
CircuitBreaker |
protected boolean |
isSkip(RequestContext context,
io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
whether to skip the current handler
|
compareTo, direct, equals, getNext, hashCode, onBefore, onResult, onThrow, setNextclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetOrderprotected List<T> getHandlersFromCache(String sourceName, String cacheName)
RateLimiter
Bulkhead
CircuitBreakersourceName - source namecacheName - cache nameprotected String getContextName()
protected boolean isSkip(RequestContext context, io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
AbstractChainHandlerisSkip in class AbstractChainHandlercontext - requestContextflowControlScenario - matched scenario informationCopyright © 2025. All rights reserved.