protected static class ZKRegistry.ZKClusterBooking extends AbstractRegistry.ClusterBooking
URLKey.ClusterKey, URLKey.ConfigKey, URLKey.RegKey| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.curator.framework.recipes.cache.PathChildrenCache |
childrenCache
zk节点监听cache
|
protected AtomicLong |
stat
事件版本
|
datum, eventsdirty, full, lastEventTime, publisher, versionfuture, path| 构造器和说明 |
|---|
ZKClusterBooking(URLKey key,
Runnable dirty,
Publisher<ClusterEvent> publisher,
String path)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.curator.framework.recipes.cache.PathChildrenCache |
getChildrenCache() |
AtomicLong |
getStat() |
void |
setChildrenCache(org.apache.curator.framework.recipes.cache.PathChildrenCache childrenCache) |
createFullEvent, full, handle, name, persistable, update, updateaddHandler, close, dirty, getLastEventTime, getPublisher, getVersion, isFull, ready, removeHandler, setLastEventTime, setVersiongetFuture, getPathbuildKey, equals, getHost, getInterface, getKey, getPort, getProtocol, getService, getString, getUrl, hashCodewrapprotected org.apache.curator.framework.recipes.cache.PathChildrenCache childrenCache
protected AtomicLong stat
public ZKClusterBooking(URLKey key, Runnable dirty, Publisher<ClusterEvent> publisher, String path)
key - 键dirty - 脏函数publisher - 通知器path - 路径public org.apache.curator.framework.recipes.cache.PathChildrenCache getChildrenCache()
public void setChildrenCache(org.apache.curator.framework.recipes.cache.PathChildrenCache childrenCache)
public AtomicLong getStat()
Copyright © 2020. All rights reserved.