Class CoordGmsImpl


  • public class CoordGmsImpl
    extends ServerGmsImpl
    Coordinator role of the Group MemberShip (GMS) protocol. Accepts JOIN and LEAVE requests and emits view changes accordingly.
    • Field Detail

      • MAX_SUSPEND_TIMEOUT

        protected static final java.lang.Long MAX_SUSPEND_TIMEOUT
    • Constructor Detail

      • CoordGmsImpl

        public CoordGmsImpl​(GMS g)
    • Method Detail

      • getMergeId

        public MergeId getMergeId()
      • init

        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class ServerGmsImpl
        Throws:
        java.lang.Exception
      • join

        public void join​(Address mbr,
                         boolean useFlushIfPresent)
        Specified by:
        join in class GmsImpl
      • leave

        public void leave()
        The coordinator itself wants to leave the group
        Specified by:
        leave in class GmsImpl
      • fixDigests

        void fixDigests()
        Fetches the digests from all members and installs them again. Used only for diagnosis and support; don't use this otherwise !
      • stop

        public void stop()
        Overrides:
        stop in class GmsImpl
      • sendLeaveResponses

        private void sendLeaveResponses​(java.util.Collection<Address> leaving_members)