public interface CacheAccess
| Modifier and Type | Method and Description |
|---|---|
<T> T |
longRunningOperation(String operationDisplayName,
Factory<? extends T> action)
Performs some long running operation within an action invoked by
useCache(String, org.gradle.internal.Factory). |
void |
longRunningOperation(String operationDisplayName,
Runnable action)
Performs some long running operation within an action invoked by
useCache(String, org.gradle.internal.Factory). |
<T> T |
useCache(String operationDisplayName,
Factory<? extends T> action)
Performs some work against the cache.
|
void |
useCache(String operationDisplayName,
Runnable action)
Performs some work against the cache.
|
<T> T useCache(String operationDisplayName, Factory<? extends T> action)
This method is re-entrant, so that an action can call back into this method.
void useCache(String operationDisplayName, Runnable action)
This method is re-entrant, so that an action can call back into this method.
<T> T longRunningOperation(String operationDisplayName, Factory<? extends T> action)
useCache(String, org.gradle.internal.Factory). Releases all
locks while the operation is running, and reacquires the locks at the end of the long running operation.
This method is re-entrant, so that an action can call back into this method.
void longRunningOperation(String operationDisplayName, Runnable action)
useCache(String, org.gradle.internal.Factory). Releases all
locks while the operation is running, and reacquires the locks at the end of the long running operation.
This method is re-entrant, so that an action can call back into this method.
Copyright © 2013. All rights reserved