Class NodeStatus
- java.lang.Object
-
- com.alachisoft.ncache.runtime.cachemanagement.NodeStatus
-
public class NodeStatus extends java.lang.ObjectNodeStatus Class contains Node Status related information in it.
-
-
Constructor Summary
Constructors Constructor Description NodeStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerNode[]getConnectedNodes()Gets the array of the node connected with the cache.ConnectivityStatusgetConnectivityStatus()Gets the connectivity status of the server node.ServerNodegetNodeInfo()Gets the information of the server node.voidsetConnectedNodes(ServerNode[] value)Sets the array of the node connected with the cache.voidsetConnectivityStatus(ConnectivityStatus value)Sets the connectivity status of the server node.voidsetNodeInfo(ServerNode value)Sets the information for the server node.
-
-
-
Method Detail
-
getNodeInfo
public final ServerNode getNodeInfo()
Gets the information of the server node.- Returns:
- The
ServerNodeinstance.
-
setNodeInfo
public final void setNodeInfo(ServerNode value)
Sets the information for the server node.- Parameters:
value- TheServerNodeinstance.
-
getConnectivityStatus
public final ConnectivityStatus getConnectivityStatus()
Gets the connectivity status of the server node.- Returns:
- The ConnectivityStatus enum.
-
setConnectivityStatus
public final void setConnectivityStatus(ConnectivityStatus value)
Sets the connectivity status of the server node.- Parameters:
value- The ConnectivityStatus enum.
-
getConnectedNodes
public final ServerNode[] getConnectedNodes()
Gets the array of the node connected with the cache.- Returns:
- The server nodes array.
-
setConnectedNodes
public final void setConnectedNodes(ServerNode[] value)
Sets the array of the node connected with the cache.- Parameters:
value- The server nodes array.
-
-