org.modeshape.connector.store.jpa.util
Class RequestProcessorCache
java.lang.Object
org.modeshape.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.
pathFactory
protected final PathFactory pathFactory
RequestProcessorCache
public RequestProcessorCache(PathFactory pathFactory)
getLocationFor
public Location getLocationFor(Long workspaceId,
Path node)
addNewNode
public void addNewNode(Long workspaceId,
Location location)
clear
public void clear(Long workspaceId)
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-2011 JBoss, a division of Red Hat. All Rights Reserved.