public class HazelCastClusterNode extends ClusterNode
Constructor and Description |
---|
HazelCastClusterNode(java.lang.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
|
java.lang.String |
getStateAsString()
Return the cluster node state as a string
|
boolean |
nameMatches(java.lang.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(java.lang.String name, int priority, ClusterInterface cluster, com.hazelcast.core.Member addr)
name
- Stringpriority
- intcluster
- ClusterInterfaceaddr
- Memberpublic java.lang.String getStateAsString()
getStateAsString
in class ClusterNode
public final com.hazelcast.core.Member getHazelCastAddress()
public boolean nameMatches(java.lang.String name)
nameMatches
in class ClusterNode
name
- StringCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.