public class JoinNotificationSignalImpl extends Object implements com.sun.enterprise.ee.cms.core.JoinNotificationSignal
| Constructor and Description |
|---|
JoinNotificationSignalImpl(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.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
|
com.sun.enterprise.ee.cms.spi.MemberStates |
getMemberState() |
String |
getMemberToken()
returns the identity token of the member that caused this signal to be generated.
|
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
|
void |
setRs(com.sun.enterprise.ee.cms.core.RejoinSubevent rs) |
protected static final Logger logger
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 aquire 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.JoinNotificationSignalpublic List<String> getAllCurrentMembers()
getAllCurrentMembers in interface com.sun.enterprise.ee.cms.core.JoinNotificationSignalpublic com.sun.enterprise.ee.cms.spi.MemberStates getMemberState()
getMemberState in interface com.sun.enterprise.ee.cms.core.JoinNotificationSignalpublic 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 void setRs(com.sun.enterprise.ee.cms.core.RejoinSubevent rs)
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.