| org.apache.jetspeed.cluster.NodeManager
All known Subclasses: org.apache.jetspeed.cluster.NodeManagerImpl,
INVALID_NODE_REQUEST | final public static int INVALID_NODE_REQUEST(Code) | | |
NODE_NEW | final public static int NODE_NEW(Code) | | |
NODE_OUTDATED | final public static int NODE_OUTDATED(Code) | | |
NODE_SAVED | final public static int NODE_SAVED(Code) | | |
addNode | public void addNode(Long id, String contextName) throws Exception(Code) | | Add a new node or update the id of an existing one...(i.e. the portlet application) to the local info
Parameters: id - Parameters: contextName - throws: Exception - |
checkNode | public int checkNode(Long id, String contextName)(Code) | | Returns the current "knowledge" about a given node (i.e. the portlet application).
If the contextName doesn't exist NODE_NEW is returned.
An id requested newer than what is stored is indicated by NODE_OUTDATED.
Parameters: id - Parameters: contextName - |
getNumberOfNodes | public int getNumberOfNodes()(Code) | | return the number of currently stored nodes
|
removeNode | public void removeNode(String contextName) throws Exception(Code) | | Remove a node
Parameters: id - Parameters: contextName - throws: Exception - |
|
|