sentinel 使用示例
官网:https://sentinelguard.io/zh-cn/docs/quick-start.html
github:https://github.com/alibaba/Sentinel/wiki/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8
相关类与接口
Sphu
public class SphU {
private static final Object[] OBJECTS0 = new Object[0];
private SphU() {
}
public static Entry entry(String name) throws BlockException {
public static Entry entry(String name, int batchCount) throws BlockException {
public static Entry entry(String name, EntryType trafficType) throws BlockException {
public static Entry entry(String name, EntryType trafficType, int batchCount) throws BlockException {
public static Entry entry(String name, EntryType trafficType, int batchCount, Object... args) throws BlockException {
public static Entry entry(String name, int resourceType, EntryType trafficType) throws BlockException {
public static Entry entry(String name, int resourceType, EntryType trafficType, Object[] args) throws BlockException {
public static Entry entry(Method method) throws BlockException {
public static Entry entry(Method method, int batchCount) throws BlockException {
public static Entry entry(Method method, EntryType trafficType) throws BlockException {
public static Entry entry(Method method, EntryType trafficType, int batchCount) throws BlockException {
public static Entry entry(Method method, En