您的浏览器已禁用 JavaScript。
跳过导航链接
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
C
G
L
N
P
S
T
U
Z
C
com.zoi7.component.zookeeper
- 程序包 com.zoi7.component.zookeeper
G
getHost()
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
getInstance()
- 类 中的静态方法com.zoi7.component.zookeeper.
ZkUtils
getPath()
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
getPort()
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
getSessionTimeout()
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
getZkConfig()
- 类 中的方法com.zoi7.component.zookeeper.
ZkUtils
getZooKeeper()
- 类 中的方法com.zoi7.component.zookeeper.
ZkUtils
getZooKeeper(Watcher)
- 类 中的方法com.zoi7.component.zookeeper.
ZkUtils
L
lock()
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
获取锁, 如果当前非空闲, 则等待锁释放 由于 lock(); 方法如果在遇到阻塞情况将会一直等待下去(等待时间为Long.MAX_VALUE毫秒), 这可能会导致意想不到的情况 建议使用 tryLock(time, unit);
lockInterruptibly()
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
N
newCondition()
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
P
process(WatchedEvent)
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
监听锁释放事件
S
setApplicationContext(ApplicationContext)
- 类 中的方法com.zoi7.component.zookeeper.
ZkUtils
setHost(String)
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
setPort(int)
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
setSessionTimeout(int)
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
setZkConfig(ZkConfig)
- 类 中的方法com.zoi7.component.zookeeper.
ZkUtils
T
toString()
- 类 中的方法com.zoi7.component.zookeeper.
ZkConfig
tryLock(long, TimeUnit)
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
尝试获取锁, 如果当前非空闲, 则等待, 如果在指定时间内还是未获取到锁, 则获取锁失败
tryLock()
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
尝试获取锁, 直接返回是否成功
U
unlock()
- 类 中的方法com.zoi7.component.zookeeper.
ZkDistributedLock
释放当前锁
Z
ZK_PREFIX
- 类 中的静态变量com.zoi7.component.zookeeper.
ZkConfig
ZkAutoConfiguration
-
com.zoi7.component.zookeeper
中的类
ZkAutoConfiguration()
- 类 的构造器com.zoi7.component.zookeeper.
ZkAutoConfiguration
ZkConfig
-
com.zoi7.component.zookeeper
中的类
ZkConfig()
- 类 的构造器com.zoi7.component.zookeeper.
ZkConfig
ZkConfig(String, int, int)
- 类 的构造器com.zoi7.component.zookeeper.
ZkConfig
ZkDistributedLock
-
com.zoi7.component.zookeeper
中的类
基于Zookeeper实现的分布式锁
ZkDistributedLock(String)
- 类 的构造器com.zoi7.component.zookeeper.
ZkDistributedLock
ZkUtils
-
com.zoi7.component.zookeeper
中的类
ZkUtils()
- 类 的构造器com.zoi7.component.zookeeper.
ZkUtils
C
G
L
N
P
S
T
U
Z
跳过导航链接
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2019. All Rights Reserved.