public interface NodeManager
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_NODE_REQUEST |
static int |
NODE_NEW |
static int |
NODE_OUTDATED |
static int |
NODE_SAVED |
Modifier and Type | Method and Description |
---|---|
void |
addNode(Long revision,
String contextName)
Add a new node or update the revision of an existing one...(i.e.
|
int |
checkNode(Long revision,
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
|
static final int INVALID_NODE_REQUEST
static final int NODE_SAVED
static final int NODE_OUTDATED
static final int NODE_NEW
int checkNode(Long revision, String contextName)
revision
- contextName
- void addNode(Long revision, String contextName) throws Exception
revision
- contextName
- Exception
int getNumberOfNodes()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.