Annotation Interface的使用
com.alibaba.csp.sentinel.spi.Spi
使用Spi的程序包
程序包
说明
-
com.alibaba.csp.sentinel.slots中Spi的使用
注释类型为Spi的com.alibaba.csp.sentinel.slots中的类 -
com.alibaba.csp.sentinel.slots.block.authority中Spi的使用
-
com.alibaba.csp.sentinel.slots.block.degrade中Spi的使用
修饰符和类型类说明classAProcessorSlotdedicates to universal default circuit breaker.classAProcessorSlotdedicates to circuit breaking. -
com.alibaba.csp.sentinel.slots.block.flow中Spi的使用
修饰符和类型类说明classCombined 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. -
com.alibaba.csp.sentinel.slots.clusterbuilder中Spi的使用
修饰符和类型类说明classThis slot maintains resource running statistics (response time, qps, thread count, exception), and a list of callers as well which is marked byContextUtil.enter(String origin) -
com.alibaba.csp.sentinel.slots.logger中Spi的使用
修饰符和类型类说明classAProcessorSlotthat is response for logging block exceptions to provide concrete logs for troubleshooting. -
com.alibaba.csp.sentinel.slots.nodeselector中Spi的使用
修饰符和类型类说明classThis class will try to build the calling traces via adding a newDefaultNodeif needed as the last child in the context. -
com.alibaba.csp.sentinel.slots.statistic中Spi的使用
-
com.alibaba.csp.sentinel.slots.system中Spi的使用