Class UseMultiLockAdvice

java.lang.Object
com.github.yingzhuo.springboot.redlock.UseMultiLockAdvice
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered

public class UseMultiLockAdvice extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered
切面用于支持 UseMultiLock
Since:
0.2.0
Author:
应卓
  • Constructor Details

    • UseMultiLockAdvice

      public UseMultiLockAdvice()
      默认构造方法
  • Method Details

    • around

      public Object around(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Throwable
      Throws:
      Throwable
    • setLockFactory

      public void setLockFactory(RedissonRedLockFactory lockFactory)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)