Class Sentinel

java.lang.Object
org.miaixz.bus.limiter.Sentinel

public class Sentinel extends Object
管控执行
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • Sentinel

      public Sentinel()
  • Method Details

    • process

      public static Object process(Object bean, Method method, Object[] args, String name, StrategyMode strategyMode)
      执行对应方法及相关规则
      Parameters:
      bean - 对象信息
      method - 执行方法
      args - 参数
      name - 方法名称
      strategyMode - 规则
      Returns:
      the object