Class GroupLeadershipNotificationSignalImpl

  • All Implemented Interfaces:
    com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal, com.sun.enterprise.ee.cms.core.Signal

    public class GroupLeadershipNotificationSignalImpl
    extends Object
    implements com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal
    Implements GroupLeadershipNotificationSignal
    Author:
    Bongjae Chang
    • Field Detail

      • logger

        protected static final Logger logger
    • Constructor Detail

      • GroupLeadershipNotificationSignalImpl

        public GroupLeadershipNotificationSignalImpl​(String memberToken,
                                                     List<com.sun.enterprise.ee.cms.core.GMSMember> previousView,
                                                     List<com.sun.enterprise.ee.cms.core.GMSMember> currentView,
                                                     List<String> currentCoreMembers,
                                                     List<String> allCurrentMembers,
                                                     String groupName,
                                                     long startTime)
    • Method Detail

      • acquire

        public void acquire()
                     throws com.sun.enterprise.ee.cms.core.SignalAcquireException
        Specified by:
        acquire in interface com.sun.enterprise.ee.cms.core.Signal
        Throws:
        com.sun.enterprise.ee.cms.core.SignalAcquireException
      • release

        public void release()
                     throws com.sun.enterprise.ee.cms.core.SignalReleaseException
        Specified by:
        release in interface com.sun.enterprise.ee.cms.core.Signal
        Throws:
        com.sun.enterprise.ee.cms.core.SignalReleaseException
      • getMemberToken

        public String getMemberToken()
        Specified by:
        getMemberToken in interface com.sun.enterprise.ee.cms.core.Signal
      • getMemberDetails

        public Map<Serializable,​Serializable> getMemberDetails()
        Specified by:
        getMemberDetails in interface com.sun.enterprise.ee.cms.core.Signal
      • getGroupName

        public String getGroupName()
        Specified by:
        getGroupName in interface com.sun.enterprise.ee.cms.core.Signal
      • getStartTime

        public long getStartTime()
        Specified by:
        getStartTime in interface com.sun.enterprise.ee.cms.core.Signal
      • getPreviousView

        public List<com.sun.enterprise.ee.cms.core.GMSMember> getPreviousView()
        Specified by:
        getPreviousView in interface com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal
      • getCurrentView

        public List<com.sun.enterprise.ee.cms.core.GMSMember> getCurrentView()
        Specified by:
        getCurrentView in interface com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal
      • getCurrentCoreMembers

        public List<String> getCurrentCoreMembers()
        Specified by:
        getCurrentCoreMembers in interface com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal
      • getAllCurrentMembers

        public List<String> getAllCurrentMembers()
        Specified by:
        getAllCurrentMembers in interface com.sun.enterprise.ee.cms.core.GroupLeadershipNotificationSignal