Interface PropChangeListener
-
- All Known Implementing Classes:
PropSnapshot,ZooPropStore
public interface PropChangeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcacheChangeEvent(PropStoreKey<?> propStoreKey)Signal that a cache change event occurred - cache change events occur on eviction or invalidation of the cache entry.voidconnectionEvent()A ZooKeeper connection event (session closed, expired...) and thatvoiddeleteEvent(PropStoreKey<?> propStoreKey)Signal that the node had been deleted from ZooKeeper.voidzkChangeEvent(PropStoreKey<?> propStoreKey)Signal that a ZooKeeper data change event occurred and that the data has changed.
-
-
-
Method Detail
-
zkChangeEvent
void zkChangeEvent(PropStoreKey<?> propStoreKey)
Signal that a ZooKeeper data change event occurred and that the data has changed.
-
cacheChangeEvent
void cacheChangeEvent(PropStoreKey<?> propStoreKey)
Signal that a cache change event occurred - cache change events occur on eviction or invalidation of the cache entry. The underlying data may or may not have changed.
-
deleteEvent
void deleteEvent(PropStoreKey<?> propStoreKey)
Signal that the node had been deleted from ZooKeeper.
-
connectionEvent
void connectionEvent()
A ZooKeeper connection event (session closed, expired...) and that
-
-