public class JoinedAndReadyNotificationSignalImpl extends Object implements com.sun.enterprise.ee.cms.core.JoinedAndReadyNotificationSignal
| Constructor and Description |
|---|
JoinedAndReadyNotificationSignalImpl(String memberToken,
List<String> currentCoreMembers,
List<String> allCurrentMembers,
String groupName,
long startTime,
com.sun.enterprise.ee.cms.core.GMSConstants.startupType startupKind,
com.sun.enterprise.ee.cms.core.RejoinSubevent rs) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire()
Signal is acquired prior to processing of the signal
to protect group resources being
acquired from being affected by a race condition
|
List<String> |
getAllCurrentMembers() |
List<String> |
getCurrentCoreMembers() |
com.sun.enterprise.ee.cms.core.AliveAndReadyView |
getCurrentView() |
com.sun.enterprise.ee.cms.core.GMSConstants.startupType |
getEventSubType() |
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.
|
com.sun.enterprise.ee.cms.core.AliveAndReadyView |
getPreviousView() |
com.sun.enterprise.ee.cms.core.RejoinSubevent |
getRejoinSubevent() |
long |
getStartTime() |
void |
release()
Signal is released after processing of the signal to bring the
group resources to a state of availability
|
protected static final Logger logger
public JoinedAndReadyNotificationSignalImpl(String memberToken, List<String> currentCoreMembers, List<String> allCurrentMembers, String groupName, long startTime, com.sun.enterprise.ee.cms.core.GMSConstants.startupType startupKind, com.sun.enterprise.ee.cms.core.RejoinSubevent rs)
public void acquire()
throws com.sun.enterprise.ee.cms.core.SignalAcquireException
acquire in interface com.sun.enterprise.ee.cms.core.Signalcom.sun.enterprise.ee.cms.core.SignalAcquireException - Exception when unable to acquire the signalpublic void release()
throws com.sun.enterprise.ee.cms.core.SignalReleaseException
release in interface com.sun.enterprise.ee.cms.core.Signalcom.sun.enterprise.ee.cms.core.SignalReleaseException - Exception when unable to release the signalpublic String getMemberToken()
getMemberToken in interface com.sun.enterprise.ee.cms.core.Signalpublic List<String> getCurrentCoreMembers()
getCurrentCoreMembers in interface com.sun.enterprise.ee.cms.core.JoinedAndReadyNotificationSignalpublic List<String> getAllCurrentMembers()
getAllCurrentMembers in interface com.sun.enterprise.ee.cms.core.JoinedAndReadyNotificationSignalpublic Map<Serializable,Serializable> getMemberDetails()
getMemberDetails in interface com.sun.enterprise.ee.cms.core.Signalpublic String getGroupName()
getGroupName in interface com.sun.enterprise.ee.cms.core.Signalpublic long getStartTime()
getStartTime in interface com.sun.enterprise.ee.cms.core.Signalpublic com.sun.enterprise.ee.cms.core.GMSConstants.startupType getEventSubType()
getEventSubType in interface com.sun.enterprise.ee.cms.core.GroupStartupNotificationSignalpublic com.sun.enterprise.ee.cms.core.RejoinSubevent getRejoinSubevent()
getRejoinSubevent in interface com.sun.enterprise.ee.cms.core.RejoinableEventpublic com.sun.enterprise.ee.cms.core.AliveAndReadyView getCurrentView()
getCurrentView in interface com.sun.enterprise.ee.cms.core.AliveAndReadySignalpublic com.sun.enterprise.ee.cms.core.AliveAndReadyView getPreviousView()
getPreviousView in interface com.sun.enterprise.ee.cms.core.AliveAndReadySignalCopyright © 2017–2019 Eclipse Foundation. All rights reserved.