toggle menu
kraken-core
JVM
switch theme
search in API
kraken-core
/
fun.bigtable.kraken.annotation
/
BusinessLock
Business
Lock
@
Target
(
value
=
ElementType.METHOD
)
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
@
Documented
@
Order
(
value
=
"-1"
)
annotation class
BusinessLock
业务锁
Members
Functions
annotation
Type
Link copied to clipboard
abstract
fun
annotationType
(
)
:
Class
<
out
Annotation
>
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
lock
Key
Suf
Fix
Link copied to clipboard
abstract
fun
lockKeySufFix
(
)
:
String
业务锁key 后缀
lock
Time
Link copied to clipboard
abstract
fun
lockTime
(
)
:
Long
业务锁锁定时间, 默认30s -1时,不设置失效时间
s
Pel
Link copied to clipboard
abstract
fun
sPel
(
)
:
String
业务锁流水号spel eg:
#object.filed
or
#object.filed + #object.filed
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String