curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <>
Subject Re: When is notLeader of LeaderLatchListener is called?
Date Tue, 12 Nov 2013 15:21:25 GMT
> I forgot to ask this question...
> Is notLeader() method designed to be called when the session is closed?
I don’t know what you mean by “session is closed”. Do you mean LeaderLatch.close()?
All listeners are cleared when LeaderLatch.close() is called. close() should be thought of
as “destroy”.

View raw message