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