public class FailureNotificationSignalImpl extends Object implements com.sun.enterprise.ee.cms.core.FailureNotificationSignal
| Modifier and Type | Field and Description |
|---|---|
protected GMSContext |
ctx |
protected String |
failedMember |
protected String |
groupName |
protected static Logger |
logger |
protected static String |
MEMBER_DETAILS |
protected long |
startTime |
| Constructor and Description |
|---|
FailureNotificationSignalImpl(String failedMember,
String groupName,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire()
Signal is acquired prior to processing of the signal
to protect group resources that are being
acquired from being affected by a race condition
|
com.sun.enterprise.ee.cms.core.AliveAndReadyView |
getCurrentView() |
String |
getFailedMemberToken()
Deprecated.
|
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 failed member
|
com.sun.enterprise.ee.cms.core.AliveAndReadyView |
getPreviousView() |
long |
getStartTime() |
void |
release()
Signal is released after processing of the signal to bring the
group resources to a state of availability
|
protected String failedMember
protected String groupName
protected static final String MEMBER_DETAILS
protected GMSContext ctx
protected static final Logger logger
protected long startTime
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 - the exception when signal is not acquiredpublic 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 - the exception when signal is not releasedpublic String getMemberToken()
getMemberToken in interface com.sun.enterprise.ee.cms.core.Signalpublic String getFailedMemberToken()
getFailedMemberToken in interface com.sun.enterprise.ee.cms.core.FailureNotificationSignalpublic 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.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.