public class InstanceIsolationRequestHandler extends CircuitBreakerRequestHandler
XDS_FLOW_CONTROL_CONFIG| Constructor and Description |
|---|
InstanceIsolationRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected io.sermant.flowcontrol.common.entity.RequestEntity.RequestType |
direct()
request direction, both are processed by default, In actual processing, the request direction determines whether
it needs to be processed by the current handler
|
protected String |
getContextName()
Get the name of the current cache context
|
protected CircuitBreakerHandler |
getHandler()
Get the controller
|
int |
getOrder()
priority
|
protected String |
getStartTime()
Get the start time of the current cache context
|
void |
onBefore(RequestContext context,
io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
request processing
|
isSkip, onResult, onThrowgetHandlersFromCachepublic void onBefore(RequestContext context, io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
RequestHandleronBefore in interface RequestHandleronBefore in class CircuitBreakerRequestHandlercontext - request contextflowControlScenario - matched business informationprotected io.sermant.flowcontrol.common.entity.RequestEntity.RequestType direct()
AbstractChainHandlerdirect in class AbstractChainHandlerprotected CircuitBreakerHandler getHandler()
CircuitBreakerRequestHandlergetHandler in class CircuitBreakerRequestHandlerpublic int getOrder()
RequestHandlergetOrder in interface RequestHandlergetOrder in class CircuitBreakerRequestHandlerprotected String getContextName()
CircuitBreakerRequestHandlergetContextName in class CircuitBreakerRequestHandlerprotected String getStartTime()
CircuitBreakerRequestHandlergetStartTime in class CircuitBreakerRequestHandlerCopyright © 2025. All rights reserved.