org.jboss.dna.connector.store.jpa.util
Class RequestProcessorCache
java.lang.Object
org.jboss.dna.connector.store.jpa.util.RequestProcessorCache
@NotThreadSafe
public class RequestProcessorCache
- extends Object
Represents a cache of the known node information, including a node's actual Location
and the complete set of children.
- Author:
- Randall Hauch
RequestProcessorCache
public RequestProcessorCache(PathFactory pathFactory)
getLocationFor
public Location getLocationFor(Long workspaceId,
Path node)
addNewNode
public void addNewNode(Long workspaceId,
Location location)
getAllChildren
public LinkedList<Location> getAllChildren(Long workspaceId,
Path parent)
setAllChildren
public void setAllChildren(Long workspaceId,
Path parent,
LinkedList<Location> children)
moveNode
public boolean moveNode(Long workspaceId,
Location oldLocation,
int oldIndexInParent,
Location newLocation)
removeBranch
public boolean removeBranch(Long workspaceId,
Iterable<Location> locations)
getString
public String getString(NamespaceRegistry namespaces)
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.