public abstract class LockingTree<T extends ContentMeta> extends StringToPathTree<T> implements Tree<T>
Constructor and Description |
---|
LockingTree() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
pathSynch(Path path)
Return an object that can be synchronized on for the given path.
|
protected HasInputStream |
synchStream(Path path,
HasInputStream stream)
Return a
HasInputStream where all read access to the underlying data is synchronized around the path |
createResource, deleteResource, getPath, getResource, hasDirectory, hasPath, hasResource, listDirectory, listDirectoryResources, listDirectorySubdirs, updateResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createResource, createResource, deleteResource, deleteResource, getPath, getPath, getResource, getResource, hasDirectory, hasDirectory, hasPath, hasPath, hasResource, hasResource, listDirectory, listDirectory, listDirectoryResources, listDirectoryResources, listDirectorySubdirs, listDirectorySubdirs, updateResource, updateResource
protected java.lang.Object pathSynch(Path path)
path
- pathprotected HasInputStream synchStream(Path path, HasInputStream stream)
HasInputStream
where all read access to the underlying data is synchronized around the pathpath
- pathstream
- stream