These are chat archives for atomix/atomix

16th
Mar 2017
nonstopbv
@nonstopbv
Mar 16 2017 11:28
Is it possible to get all group in atomix replica server.
Jordan Halterman
@kuujo
Mar 16 2017 16:25
Yep. replica.keys(DistributedGroup.class) should return a set of group names
arshad khan
@arshadwkhan_twitter
Mar 16 2017 16:38
@kuujo is there a way to know all the nodes of the cluster ?
Jordan Halterman
@kuujo
Mar 16 2017 19:46
I don't think it's exposed in the Atomix API. But it is part of the Copycat API
Benjamin Jaton
@benji
Mar 16 2017 21:18
On the copycat page: "Its event-driven model allows for efficient client communication with replicated state machines, from simple key-value stores to wait-free locks and leader elections."
But aren't the leadership election / locks implemented at the atomix level?
Jordan Halterman
@kuujo
Mar 16 2017 22:22
They are, but that documentation is referring to the primitives on which leader elections are built (session events) where locks and leader elections are just examples of state machines that can be created.
Benjamin Jaton
@benji
Mar 16 2017 22:48
I see ok :)