|
||||||||||
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.FailureNotificationSignalImpl
public class FailureNotificationSignalImpl
Implements FailureNotificationSignal
Field Summary | |
---|---|
protected GMSContext |
ctx
|
protected String |
failedMember
|
protected String |
groupName
|
protected static Logger |
logger
|
protected static String |
MEMBER_DETAILS
|
protected long |
startTime
|
Constructor Summary | |
---|---|
FailureNotificationSignalImpl(String failedMember,
String groupName,
long startTime)
|
Method Summary | |
---|---|
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 |
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 |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String failedMember
protected String groupName
protected static final String MEMBER_DETAILS
protected GMSContext ctx
protected static final Logger logger
protected long startTime
Constructor Detail |
---|
public FailureNotificationSignalImpl(String failedMember, String groupName, long startTime)
Method Detail |
---|
public void acquire() throws SignalAcquireException
acquire
in interface Signal
SignalAcquireException
public void release() throws SignalReleaseException
release
in interface Signal
SignalReleaseException
public String getMemberToken()
getMemberToken
in interface Signal
public String getFailedMemberToken()
getFailedMemberToken
in interface FailureNotificationSignal
public Map<Serializable,Serializable> getMemberDetails()
getMemberDetails
in interface Signal
public String getGroupName()
getGroupName
in interface Signal
public long getStartTime()
Signal
getStartTime
in interface Signal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |