|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.ee.cms.impl.common.GroupLeadershipNotificationSignalImpl
public class GroupLeadershipNotificationSignalImpl
Implements GroupLeadershipNotificationSignal
| Field Summary | |
|---|---|
protected static Logger |
logger
|
| Constructor Summary | |
|---|---|
GroupLeadershipNotificationSignalImpl(String memberToken,
List<GMSMember> previousView,
List<GMSMember> currentView,
List<String> currentCoreMembers,
List<String> allCurrentMembers,
String groupName,
long startTime)
|
|
| Method Summary | |
|---|---|
void |
acquire()
Signal is acquired prior to processing of the signal to protect group resources being acquired from being affected by a race condition Signal must be mandatorily acquired before any processing for recovery operations. |
List<String> |
getAllCurrentMembers()
provides a list of all live members i.e. |
List<String> |
getCurrentCoreMembers()
provides a list of all live and current CORE designated members. |
List<GMSMember> |
getCurrentView()
provides a list of the current view's snapshot at time signal arrives. |
String |
getGroupName()
returns the group to which the member involved in the Signal belonged to |
Map<Serializable,Serializable> |
getMemberDetails()
returns the details of the member who caused this Signal to be generated returns a Map containing key-value pairs constituting data pertaining to the member's details |
String |
getMemberToken()
returns the identity token of the member that caused this signal to be generated. |
List<GMSMember> |
getPreviousView()
provides a list of the previous view's snapshot at time signal arrives. |
long |
getStartTime()
returns the start time of the member involved in this Signal. |
void |
release()
Signal is released after processing of the signal to bring the group resources to a state of availability Signal should be madatorily released after recovery process is completed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger logger
| Constructor Detail |
|---|
public GroupLeadershipNotificationSignalImpl(String memberToken,
List<GMSMember> previousView,
List<GMSMember> currentView,
List<String> currentCoreMembers,
List<String> allCurrentMembers,
String groupName,
long startTime)
| Method Detail |
|---|
public void acquire()
throws SignalAcquireException
acquire in interface SignalSignalAcquireException
public void release()
throws SignalReleaseException
release in interface SignalSignalReleaseExceptionpublic String getMemberToken()
getMemberToken in interface Signalpublic Map<Serializable,Serializable> getMemberDetails()
getMemberDetails in interface Signalpublic String getGroupName()
getGroupName in interface Signalpublic long getStartTime()
getStartTime in interface Signalpublic List<GMSMember> getPreviousView()
getPreviousView in interface GroupLeadershipNotificationSignalGMSMembers which are corresponding to the viewpublic List<GMSMember> getCurrentView()
getCurrentView in interface GroupLeadershipNotificationSignalGMSMembers which are corresponding to the viewpublic List<String> getCurrentCoreMembers()
getCurrentCoreMembers in interface GroupLeadershipNotificationSignalpublic List<String> getAllCurrentMembers()
getAllCurrentMembers in interface GroupLeadershipNotificationSignal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||