|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeManager
Node Manager Interface
Field Summary | |
---|---|
static int |
INVALID_NODE_REQUEST
|
static int |
NODE_NEW
|
static int |
NODE_OUTDATED
|
static int |
NODE_SAVED
|
Method Summary | |
---|---|
void |
addNode(Long id,
String contextName)
Add a new node or update the id of an existing one...(i.e. |
int |
checkNode(Long id,
String contextName)
Returns the current "knowledge" about a given node (i.e. |
int |
getNumberOfNodes()
return the number of currently stored nodes |
void |
removeNode(String contextName)
Remove a node |
Field Detail |
---|
static final int INVALID_NODE_REQUEST
static final int NODE_SAVED
static final int NODE_OUTDATED
static final int NODE_NEW
Method Detail |
---|
int checkNode(Long id, String contextName)
id
- contextName
-
void addNode(Long id, String contextName) throws Exception
id
- contextName
-
Exception
int getNumberOfNodes()
void removeNode(String contextName) throws Exception
id
- contextName
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |