|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GMSContext
Provides contextual information about all useful GMS artifacts. These are GMS objects that are tied to a particular group identity and thus scoped to provide information within the group's context. There can be as many GMSContext objects as there are groups within a single JVM process.
| Method Detail |
|---|
String getServerIdentityToken()
String getGroupName()
GroupHandle getGroupHandle()
Router getRouter()
ViewWindow getViewWindow()
DistributedStateCache getDistributedStateCache()
GMSMonitor getGMSMonitor()
void join()
throws GMSException
GMSExceptionvoid leave(GMSConstants.shutdownType shutdownType)
boolean isShuttingDown()
long getStartTime()
void announceGroupStartup(String groupName,
GMSConstants.groupStartupState startupState,
List<String> memberTokens)
void announceGroupShutdown(String groupName,
GMSConstants.shutdownState shutdownState)
boolean addToSuspectList(String token)
void removeFromSuspectList(String token)
boolean isSuspected(String token)
List<String> getSuspectList()
ShutdownHelper getShutdownHelper()
GroupCommunicationProvider getGroupCommunicationProvider()
void assumeGroupLeadership()
boolean isGroupBeingShutdown(String groupName)
boolean isGroupStartup()
void setGroupStartup(boolean value)
GroupManagementService.MemberType getMemberType()
boolean isWatchdog()
AliveAndReadyView getPreviousAliveAndReadyView()
AliveAndReadyView getCurrentAliveAndReadyView()
Map<String,RejoinSubevent> getInstanceRejoins()
AliveAndReadyViewWindow getAliveAndReadyViewWindow()
void setGroupStartupJoinMembers(Set<String> members)
boolean isGroupStartupComplete()
boolean setGroupStartupState(String member,
MemberStates state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||