CanJoin checks whether the instance owning this TokenGenerator can join the set of the given instances satisfies, and fails if it is not possible.
(instances map[string]InstanceDesc)
| 16 | // CanJoin checks whether the instance owning this TokenGenerator can join the set of the given instances satisfies, |
| 17 | // and fails if it is not possible. |
| 18 | CanJoin(instances map[string]InstanceDesc) error |
| 19 | |
| 20 | // CanJoinEnabled returns true if the instance owning this TokenGenerator should perform the CanJoin check before |
| 21 | // it tries to join the ring. |
no outgoing calls