com.gitee.summer9102.develop.mysql.annotation.InsertRedisLock Maven / Gradle / Ivy
package com.gitee.summer9102.develop.mysql.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface InsertRedisLock {
/**
* redis锁key-前缀
*/
String keyPrefix();
/**
* redis锁key-对象属性名
*/
String keyProperty();
}