public class FailureSuspectedSignalImpl extends Object implements com.sun.enterprise.ee.cms.core.FailureSuspectedSignal
| 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 |
|---|
FailureSuspectedSignalImpl(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 being acquired from being affected by a race condition Signal
must be mandatorily acquired before any processing for recovery
operations.
|
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.
|
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.
|
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 - 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 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.SignalCopyright © 2017–2019 Eclipse Foundation. All rights reserved.