public interface

HelixPropertyStore

implements BaseDataAccessor<T>
org.apache.helix.store.HelixPropertyStore<T>
Known Indirect Subclasses

Summary

Public Methods
abstract void start()
Perform resource allocation when property store starts Resource allocation includes: - start an internal thread for fire callbacks
abstract void stop()
Perform clean up when property store stops Cleanup includes: - stop the internal thread for fire callbacks
abstract void subscribe(String parentPath, HelixPropertyListener listener)
Register a listener to a parent path.
abstract void unsubscribe(String parentPath, HelixPropertyListener listener)
Remove a listener from a parent path.
[Expand]
Inherited Methods
From interface org.apache.helix.BaseDataAccessor

Public Methods

public abstract void start ()

Perform resource allocation when property store starts Resource allocation includes: - start an internal thread for fire callbacks

public abstract void stop ()

Perform clean up when property store stops Cleanup includes: - stop the internal thread for fire callbacks

public abstract void subscribe (String parentPath, HelixPropertyListener listener)

Register a listener to a parent path. Subscribing to a parent path means any changes happening under the parent path will notify the listener

public abstract void unsubscribe (String parentPath, HelixPropertyListener listener)

Remove a listener from a parent path. This will remove the listener from receiving any notifications happening under the parent path