| Package | Description |
|---|---|
| org.gradle.cache.internal |
| Modifier and Type | Method and Description |
|---|---|
FileLock |
FileLockManager.lock(java.io.File target,
FileLockManager.LockMode mode,
java.lang.String targetDisplayName)
Creates a locks for the given file with the given mode.
|
FileLock |
DefaultFileLockManager.lock(java.io.File target,
FileLockManager.LockMode mode,
java.lang.String targetDisplayName) |
FileLock |
FileLockManager.lock(java.io.File target,
FileLockManager.LockMode mode,
java.lang.String targetDisplayName,
java.lang.String operationDisplayName)
Creates a locks for the given file with the given mode.
|
<T> T |
FileAccess.readFromFile(java.util.concurrent.Callable<? extends T> action)
Runs the given action under a shared or exclusive lock on the target file.
|
<T> T |
AbstractFileAccess.readFromFile(java.util.concurrent.Callable<? extends T> action) |
<T> T |
OnDemandFileAccess.readFromFile(Factory<? extends T> action) |
<T> T |
FileAccess.readFromFile(Factory<? extends T> action)
Runs the given action under a shared or exclusive lock on the target file.
|
void |
OnDemandFileAccess.writeToFile(java.lang.Runnable action) |
void |
FileAccess.writeToFile(java.lang.Runnable action)
Runs the given action under an exclusive lock on the target file.
|
Copyright © 2013. All rights reserved