public abstract class GMSContextBase extends Object implements GMSContext
| Modifier and Type | Field and Description |
|---|---|
protected com.sun.enterprise.ee.cms.core.GMSMember |
gmsMember |
protected com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType |
gmsMemberType |
protected String |
groupName |
protected static Logger |
logger |
protected String |
memberType |
protected Router |
router |
protected String |
serverToken |
protected ShutdownHelper |
shutdownHelper |
protected boolean |
shuttingDown |
protected Long |
startTime |
protected ArrayList<String> |
suspectList |
protected ViewWindow |
viewWindow |
| Modifier | Constructor and Description |
|---|---|
protected |
GMSContextBase(String serverToken,
String groupName,
com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType memberType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
createDistributedStateCache() |
abstract AliveAndReadyViewWindow |
getAliveAndReadyViewWindow() |
abstract GMSMonitor |
getGMSMonitor() |
String |
getGroupName()
returns the name of the group this context represents
|
com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType |
getMemberType() |
protected static String |
getMemberType(com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType memberType) |
Router |
getRouter()
returns the router
|
String |
getServerIdentityToken()
returns the serverIdentityToken pertaining to the process that owns this GMS instance
|
boolean |
isShuttingDown()
Return
true if shutting down |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToSuspectList, announceGroupShutdown, announceGroupStartup, assumeGroupLeadership, getCurrentAliveAndReadyView, getDistributedStateCache, getGroupCommunicationProvider, getGroupHandle, getInstanceRejoins, getPreviousAliveAndReadyView, getShutdownHelper, getStartTime, getSuspectList, getViewWindow, isGroupBeingShutdown, isGroupStartup, isGroupStartupComplete, isSuspected, isWatchdog, join, leave, removeFromSuspectList, setGroupStartup, setGroupStartupJoinMembers, setGroupStartupStateprotected String serverToken
protected String groupName
protected Router router
protected ViewWindow viewWindow
protected static final Logger logger
protected String memberType
protected com.sun.enterprise.ee.cms.core.GMSMember gmsMember
protected final Long startTime
protected boolean shuttingDown
protected final ShutdownHelper shutdownHelper
protected final com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType gmsMemberType
protected static String getMemberType(com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType memberType)
public com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType getMemberType()
getMemberType in interface GMSContextpublic String getServerIdentityToken()
getServerIdentityToken in interface GMSContextpublic String getGroupName()
getGroupName in interface GMSContextpublic Router getRouter()
getRouter in interface GMSContextprotected abstract void createDistributedStateCache()
public boolean isShuttingDown()
true if shutting downisShuttingDown in interface GMSContexttrue if shutting downpublic abstract AliveAndReadyViewWindow getAliveAndReadyViewWindow()
getAliveAndReadyViewWindow in interface GMSContextpublic abstract GMSMonitor getGMSMonitor()
getGMSMonitor in interface GMSContextCopyright © 2017–2020 Eclipse Foundation. All rights reserved.