com.sun.enterprise.ee.cms.core
Interface GroupLeadershipNotificationSignal

All Superinterfaces:
Signal

public interface GroupLeadershipNotificationSignal
extends Signal

Signal corresponding to GroupLeadershipNotificationAction. This Signal enables the consumer to get specifics about a GroupLeadership notification. This Signal type will only be passed to a GroupLeadershipNotificationAction. This Signal is delivered to registered GMS Clients on all members of the group.

Author:
Bongjae Chang

Method Summary
 java.util.List<java.lang.String> getAllCurrentMembers()
          provides a list of all live members i.e.
 java.util.List<java.lang.String> getCurrentCoreMembers()
          provides a list of all live and current CORE designated members.
 java.util.List<GMSMember> getCurrentView()
          provides a read-only list of the current view's snapshot at time signal arrives.
 java.util.List<GMSMember> getPreviousView()
          provides a read-only list of the previous view's snapshot at time signal arrives.
 
Methods inherited from interface com.sun.enterprise.ee.cms.core.Signal
acquire, getGroupName, getMemberDetails, getMemberToken, getStartTime, release
 

Method Detail

getPreviousView

java.util.List<GMSMember> getPreviousView()
provides a read-only list of the previous view's snapshot at time signal arrives.

Returns:
List containing the list of GMSMembers which are corresponding to the view

getCurrentView

java.util.List<GMSMember> getCurrentView()
provides a read-only list of the current view's snapshot at time signal arrives.

Returns:
List containing the list of GMSMembers which are corresponding to the view

getCurrentCoreMembers

java.util.List<java.lang.String> getCurrentCoreMembers()
provides a list of all live and current CORE designated members.

Returns:
List containing the list of member token ids of core members

getAllCurrentMembers

java.util.List<java.lang.String> getAllCurrentMembers()
provides a list of all live members i.e. CORE and SPECTATOR members.

Returns:
List containing the list of member token ids of all members


Copyright © 2010. All Rights Reserved.