public class

ZkCallbackCache

extends Cache<T>
implements IZkChildListener IZkDataListener IZkStateListener
java.lang.Object
   ↳ org.apache.helix.manager.zk.Cache<T>
     ↳ org.apache.helix.manager.zk.ZkCallbackCache<T>

Summary

Public Constructors
ZkCallbackCache(BaseDataAccessor<T> accessor, String chrootPath, List<String> paths, ZkCacheEventThread eventThread)
Public Methods
void handleChildChange(String parentPath, List<String> currentChilds)
void handleDataChange(String dataPath, Object data)
void handleDataDeleted(String dataPath)
void handleNewSession()
void handleStateChanged(Watcher.Event.KeeperState state)
void subscribe(String path, HelixPropertyListener listener)
void unsubscribe(String path, HelixPropertyListener childListener)
void update(String path, T data, Stat stat)
void updateRecursive(String path)
[Expand]
Inherited Methods
From class org.apache.helix.manager.zk.Cache
From class java.lang.Object
From interface org.I0Itec.zkclient.IZkChildListener
From interface org.I0Itec.zkclient.IZkDataListener
From interface org.I0Itec.zkclient.IZkStateListener

Public Constructors

public ZkCallbackCache (BaseDataAccessor<T> accessor, String chrootPath, List<String> paths, ZkCacheEventThread eventThread)

Public Methods

public void handleChildChange (String parentPath, List<String> currentChilds)

Throws
Exception

public void handleDataChange (String dataPath, Object data)

Throws
Exception

public void handleDataDeleted (String dataPath)

Throws
Exception

public void handleNewSession ()

Throws
Exception

public void handleStateChanged (Watcher.Event.KeeperState state)

Throws
Exception

public void subscribe (String path, HelixPropertyListener listener)

public void unsubscribe (String path, HelixPropertyListener childListener)

public void update (String path, T data, Stat stat)

public void updateRecursive (String path)