zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@hortonworks.com>
Subject Re: checking if a node is ephemeral
Date Fri, 23 Sep 2011 06:35:10 GMT
Ishaaq,

Stat.getEphemeralOwner() should suffice.


mahadev

On Sep 22, 2011, at 10:42 PM, Ishaaq Chandy wrote:

> Hi,
> Is it sufficient to check Stat.getEphemeralOwner() != 0 to test if a node is
> ephemeral? Or is there a better way?
> 
> Thanks,
> Ishaaq


Mime
View raw message