public class HazelCastClusterNode extends ClusterNode
Constructor and Description |
---|
HazelCastClusterNode(String name,
int priority,
ClusterInterface cluster,
com.hazelcast.core.Member addr)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
com.hazelcast.core.Member |
getHazelCastAddress()
Return the HazelCast node details
|
String |
getStateAsString()
Return the cluster node state as a string
|
boolean |
nameMatches(String name)
Check if this cluster node matches the specified name.
|
equals, getAddress, getCluster, getName, getPriority, getState, getStateCache, isLocalNode, setCluster, setLocalNode, setName, setPriority, setState, toString
public HazelCastClusterNode(String name, int priority, ClusterInterface cluster, com.hazelcast.core.Member addr)
name
- Stringpriority
- intcluster
- ClusterInterfaceaddr
- Memberpublic String getStateAsString()
getStateAsString
in class ClusterNode
public final com.hazelcast.core.Member getHazelCastAddress()
public boolean nameMatches(String name)
nameMatches
in class ClusterNode
name
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.