|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.connector.store.jpa.util.RequestProcessorCache
@NotThreadSafe public class RequestProcessorCache

Represents a cache of the known node information, including a node's actual Location and the complete set of children.
| Nested Class Summary | |
|---|---|
class |
RequestProcessorCache.WorkspaceCache
|
| Field Summary | |
|---|---|
protected PathFactory |
pathFactory
|
| Constructor Summary | |
|---|---|
RequestProcessorCache(PathFactory pathFactory)
|
|
| Method Summary | |
|---|---|
void |
addNewNode(Long workspaceId,
Location location)
|
void |
clear(Long workspaceId)
|
LinkedList<Location> |
getAllChildren(Long workspaceId,
Path parent)
|
Location |
getLocationFor(Long workspaceId,
Path node)
|
String |
getString(NamespaceRegistry namespaces)
|
boolean |
moveNode(Long workspaceId,
Location oldLocation,
int oldIndexInParent,
Location newLocation)
|
boolean |
removeBranch(Long workspaceId,
Iterable<Location> locations)
|
void |
setAllChildren(Long workspaceId,
Path parent,
LinkedList<Location> children)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final PathFactory pathFactory
| Constructor Detail |
|---|
public RequestProcessorCache(PathFactory pathFactory)
| Method Detail |
|---|
public Location getLocationFor(Long workspaceId,
Path node)
public void addNewNode(Long workspaceId,
Location location)
public void clear(Long workspaceId)
public LinkedList<Location> getAllChildren(Long workspaceId,
Path parent)
public void setAllChildren(Long workspaceId,
Path parent,
LinkedList<Location> children)
public boolean moveNode(Long workspaceId,
Location oldLocation,
int oldIndexInParent,
Location newLocation)
public boolean removeBranch(Long workspaceId,
Iterable<Location> locations)
public String getString(NamespaceRegistry namespaces)
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||