public interface NodeSupplierService extends SupplierService
NodeService
.Modifier and Type | Method and Description |
---|---|
Node |
createOrUpdateNode(NodeId id,
NodeInfo info)
Creates a new node or updates an existing node with the given
node-related information.
|
Node |
removeNode(NodeId id)
Removes a specific node from the data store.
|
Iterator<Node> |
removeNodes(NodeFilter filter)
Removes all nodes matching the given filter from the data store.
|
Node createOrUpdateNode(NodeId id, NodeInfo info)
id
- the identifier for the node to create/updateinfo
- node-related information to overwriteNode removeNode(NodeId id)
id
- the identifier for the node to removeNotFoundException
- if node does not already existIterator<Node> removeNodes(NodeFilter filter)
filter
- the filter to match againstCopyright © 2015. All Rights Reserved.