|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rundeck.storage.impl.StringToPathTree<T>
org.rundeck.storage.data.file.LockingTree<T>
public abstract class LockingTree<T extends ContentMeta>
LockingTree provides lock objects which can be synchronized for resource access to a particular path.
Constructor Summary | |
---|---|
LockingTree()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.rundeck.storage.impl.StringToPathTree |
---|
createResource, deleteResource, getPath, getResource, hasDirectory, hasPath, hasResource, listDirectory, listDirectoryResources, listDirectorySubdirs, updateResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rundeck.storage.api.Tree |
---|
createResource, createResource, deleteResource, deleteResource, getPath, getPath, getResource, getResource, hasDirectory, hasDirectory, hasPath, hasPath, hasResource, hasResource, listDirectory, listDirectory, listDirectoryResources, listDirectoryResources, listDirectorySubdirs, listDirectorySubdirs, updateResource, updateResource |
Constructor Detail |
---|
public LockingTree()
Method Detail |
---|
protected java.lang.Object pathSynch(Path path)
path
-
protected HasInputStream synchStream(Path path, HasInputStream stream)
HasInputStream
where all read access to the underlying data is synchronized around the path
path
- stream
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |