| Interface | Description |
|---|---|
| TrafficShapingController |
A universal interface for traffic shaping controller.
|
| Class | Description |
|---|---|
| ClusterFlowConfig |
Flow rule config in cluster mode.
|
| FlowRule |
Each flow rule is mainly composed of three factors: grade,
strategy and controlBehavior:
|
| FlowRuleChecker |
Rule checker for flow control rules.
|
| FlowRuleComparator |
Comparator for flow rules.
|
| FlowRuleManager |
One resources can have multiple rules.
|
| FlowRuleUtil | |
| FlowSlot |
Combined the runtime statistics collected from the previous
slots (NodeSelectorSlot, ClusterNodeBuilderSlot, and StatisticSlot), FlowSlot
will use pre-set rules to decide whether the incoming requests should be
blocked.
|
| Exception | Description |
|---|---|
| FlowException | |
| PriorityWaitException |
An exception that marks previous prioritized request has been waiting till now, then should pass.
|
Copyright © 2019 Alibaba Group. All rights reserved.