protected static class ZKRegistry.ZKConfigBooking extends AbstractRegistry.ConfigBooking
URLKey.ClusterKey, URLKey.ConfigKey, URLKey.RegKey| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.curator.framework.recipes.cache.NodeCache |
nodeCache
zk节点监听cache
|
protected AtomicLong |
stat
事件版本
|
datumdirty, full, lastEventTime, publisher, versionfuture, path| 构造器和说明 |
|---|
ZKConfigBooking(URLKey key,
Runnable dirty,
Publisher<ConfigEvent> publisher,
String path)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.curator.framework.recipes.cache.NodeCache |
getNodeCache() |
AtomicLong |
getStat() |
void |
setNodeCache(org.apache.curator.framework.recipes.cache.NodeCache nodeCache) |
createFullEvent, handle, name, persistableaddHandler, 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.NodeCache nodeCache
protected AtomicLong stat
public ZKConfigBooking(URLKey key, Runnable dirty, Publisher<ConfigEvent> publisher, String path)
key - 键dirty - 脏函数publisher - 通知器path - 路径public org.apache.curator.framework.recipes.cache.NodeCache getNodeCache()
public void setNodeCache(org.apache.curator.framework.recipes.cache.NodeCache nodeCache)
public AtomicLong getStat()
Copyright © 2020. All rights reserved.