public class JedisDtLock extends JedisBase implements DtLock
| 构造器和说明 |
|---|
JedisDtLock(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOwnTimeoutSecond() |
void |
setOwnTimeoutSecond(int ownTimeoutSecond) |
String |
tryLock()
试图获取锁
|
void |
unLock(String kId)
开锁
|
close, getJedis, getKeyName, setJedisFactory, setKeyNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseCopyright © 2018. All rights reserved.