程序包 com.alibaba.csp.sentinel.slots.block.flow
package com.alibaba.csp.sentinel.slots.block.flow
-
类说明Flow rule config in cluster mode.Each flow rule is mainly composed of three factors: grade, strategy and controlBehavior:Rule checker for flow control rules.Comparator for flow rules.One resources can have multiple rules.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.An exception that marks previous prioritized request has been waiting till now, then should pass.A universal interface for traffic shaping controller.