helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinayak Borkar <vbo...@yahoo.com>
Subject Re: Configuration Data change listeners
Date Thu, 11 Apr 2013 00:25:14 GMT
It looks like this feature is not present in 0.6.0-incubating. Thanks 
for the pointer.


On 4/10/13 5:02 PM, Zhen Zhang wrote:
> yes.
>
> HelixManager#addConfigChangeListener(ScopedConfigChangeListener listener,
> ConfigScopeProperty scope) registers a config change listener for different
> scopes (i.e. CLUSTER, RESOURCE, PARTITION)
>
> TestListenerCallback#testBasic() has examples for using it. For example,
> the following line registers a cluster scope config change listener:
> manager.addConfigChangeListener(listener, ConfigScopeProperty.CLUSTER);
>
> Thank,
> Jason
>
>
>
> On Wed, Apr 10, 2013 at 3:43 PM, Vinayak Borkar <vborky@yahoo.com> wrote:
>
>> Hi,
>>
>>
>> I see that HelixManager provides a way to set and get config information
>> related to Resources, Partitions and other things.
>>
>> Is there a way that changes to this information can be tracked by using
>> listeners?
>>
>> Thanks,
>> Vinayak
>>
>


Mime
View raw message