You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@curator.apache.org by s influxdb <el...@gmail.com> on 2016/03/29 20:09:28 UTC

check for ephemeral nodes

Is there a way to check whether the node is ephemeral with curator .

Currently i only see getData().getStat() and then interpret the third
number from the last represnts ephemeralOwner

Re: check for ephemeral nodes

Posted by s influxdb <el...@gmail.com>.
ok got i should have looked further getData().getStat().getEphemeralOwner()

Thanks for the quick reply.

On Tue, Mar 29, 2016 at 11:13 AM, Jordan Zimmerman <
jordan@jordanzimmerman.com> wrote:

> Getting the Stat object is the correct way.
>
> > On Mar 29, 2016, at 1:09 PM, s influxdb <el...@gmail.com> wrote:
> >
> > Is there a way to check whether the node is ephemeral with curator .
> >
> > Currently i only see getData().getStat() and then interpret the third
> number from the last represnts ephemeralOwner
>
>

Re: check for ephemeral nodes

Posted by Jordan Zimmerman <jo...@jordanzimmerman.com>.
Getting the Stat object is the correct way.

> On Mar 29, 2016, at 1:09 PM, s influxdb <el...@gmail.com> wrote:
> 
> Is there a way to check whether the node is ephemeral with curator .
> 
> Currently i only see getData().getStat() and then interpret the third number from the last represnts ephemeralOwner