|
||||||||||
| 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.PlannedShutdownSignalImpl
public class PlannedShutdownSignalImpl
Implementation of PlannedShutdownSignal.
| Field Summary | |
|---|---|
protected static Logger |
logger
|
| Constructor Summary | |
|---|---|
PlannedShutdownSignalImpl(String memberToken,
String groupName,
long startTime,
GMSConstants.shutdownType shutdownType)
|
|
| Method Summary | |
|---|---|
void |
acquire()
Signal is acquired prior to processing of the signal to protect group resources being acquired from being affected by a race condition |
AliveAndReadyView |
getCurrentView()
|
GMSConstants.shutdownType |
getEventSubType()
Planned shutdown events can be one of two types, Group Shutdown or Instance Shutdown. |
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()
|
AliveAndReadyView |
getPreviousView()
|
long |
getStartTime()
|
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 static final Logger logger
| Constructor Detail |
|---|
public PlannedShutdownSignalImpl(String memberToken,
String groupName,
long startTime,
GMSConstants.shutdownType shutdownType)
| Method Detail |
|---|
public void acquire()
throws SignalAcquireException
acquire in interface SignalSignalAcquireException
public void release()
throws SignalReleaseException
release in interface SignalSignalReleaseExceptionpublic String getMemberToken()
getMemberToken in interface Signalpublic Map<Serializable,Serializable> getMemberDetails()
getMemberDetails in interface Signalpublic String getGroupName()
getGroupName in interface Signalpublic long getStartTime()
getStartTime in interface Signalpublic GMSConstants.shutdownType getEventSubType()
getEventSubType in interface PlannedShutdownSignalGMSConstantspublic AliveAndReadyView getCurrentView()
getCurrentView in interface AliveAndReadySignalpublic AliveAndReadyView getPreviousView()
getPreviousView in interface AliveAndReadySignal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||