public class StandaloneClusterContext extends Object implements ClusterContext
| Constructor and Description |
|---|
StandaloneClusterContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembershipEventListener(MembershipEventListener eventListener) |
void |
dispose() |
List<MemberId> |
getAccepts() |
String |
getClusterName() |
CollectionsFactory |
getCollectionsFactory() |
ClusterConnectOptionsContext |
getConnectOptions() |
List<MemberId> |
getConnects() |
String |
getInstanceKey(MemberId memberId) |
MemberId |
getLocalMember() |
Lock |
getLock(String name) |
List<MemberId> |
getMemberIds() |
void |
logClusterState() |
void |
logClusterStateAtInfoLevel() |
void |
removeMembershipEventListener(MembershipEventListener eventListener) |
void |
start() |
public void addMembershipEventListener(MembershipEventListener eventListener)
addMembershipEventListener in interface ClusterContextpublic void removeMembershipEventListener(MembershipEventListener eventListener)
removeMembershipEventListener in interface ClusterContextpublic String getClusterName()
getClusterName in interface ClusterContextpublic List<MemberId> getMemberIds()
getMemberIds in interface ClusterContextpublic List<MemberId> getAccepts()
getAccepts in interface ClusterContextpublic List<MemberId> getConnects()
getConnects in interface ClusterContextpublic ClusterConnectOptionsContext getConnectOptions()
getConnectOptions in interface ClusterContextpublic MemberId getLocalMember()
getLocalMember in interface ClusterContextpublic String getInstanceKey(MemberId memberId)
getInstanceKey in interface ClusterContextpublic Lock getLock(String name)
getLock in interface ClusterContextpublic void start()
start in interface ClusterContextpublic void dispose()
dispose in interface ClusterContextpublic CollectionsFactory getCollectionsFactory()
getCollectionsFactory in interface ClusterContextpublic void logClusterState()
logClusterState in interface ClusterContextpublic void logClusterStateAtInfoLevel()
logClusterStateAtInfoLevel in interface ClusterContextCopyright © 2014–2017. All rights reserved.