toggle menu
common-ext
2.0.0
jvm
switch theme
search in API
common-ext
/
io.github.caijiang.common.lock
/
AutoLock
Auto
Lock
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
]
)
@
Repeatable
(
value
=
AutoLocks::class
)
annotation class
AutoLock
(
val
value
:
String
=
""
,
val
key
:
String
=
""
)
Author
CJ
Members
Properties
key
Link copied to clipboard
val
key
:
String
Spring EL,缺省则取第一个参数的 toString (第一个参数是 null 则取
null
)
value
Link copied to clipboard
val
value
:
String
锁名称,缺省就是方法签名。