You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Ishaaq Chandy <is...@gmail.com> on 2011/09/23 07:42:06 UTC
checking if a node is ephemeral
Hi,
Is it sufficient to check Stat.getEphemeralOwner() != 0 to test if a node is
ephemeral? Or is there a better way?
Thanks,
Ishaaq
Re: checking if a node is ephemeral
Posted by Mahadev Konar <ma...@hortonworks.com>.
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