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