Class NodeStatus
- java.lang.Object
-
- com.alachisoft.ncache.runtime.cachemanagement.NodeStatus
-
public class NodeStatus extends java.lang.Object
NodeStatus 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.ConnectivityStatus
getConnectivityStatus()
Gets the connectivity status of the server node.ServerNode
getNodeInfo()
Gets the information of the server node.void
setConnectedNodes(ServerNode[] value)
Sets the array of the node connected with the cache.void
setConnectivityStatus(ConnectivityStatus value)
Sets the connectivity status of the server node.void
setNodeInfo(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
ServerNode
instance.
-
setNodeInfo
public final void setNodeInfo(ServerNode value)
Sets the information for the server node.- Parameters:
value
- TheServerNode
instance.
-
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.
-
-