类 LockKeyGenerator


  • public class LockKeyGenerator
    extends Object
    LockKeyGenerator
    从以下版本开始:
    2020/5/14 16:58
    版本:
    v1.0
    作者:
    fxbin
    • 构造器详细资料

      • LockKeyGenerator

        public LockKeyGenerator()
    • 方法详细资料

      • generate

        public Object generate​(Method method,
                               LockAction lockAction)
        Generate a key for the given package and method.
        参数:
        method - a single method on a class or interface
        lockAction - the annotation of LockAction
        返回:
        a generated key
      • generate

        public String generate​(String expression,
                               Method method,
                               Object[] args)
        generate, 解析Spring EL 表达式
        参数:
        expression - 表达式
        method - 方法
        args - 方法参数
        返回:
        java.lang.String
        从以下版本开始:
        2020/8/4 15:28