| Package | Description |
|---|---|
| org.gradle.cache | |
| org.gradle.cache.internal | |
| org.gradle.testfixtures.internal |
| Modifier and Type | Method and Description |
|---|---|
DirectoryCacheBuilder |
DirectoryCacheBuilder.withInitializer(Action<? super PersistentCache> initializer)
Specifies an action to execute to initialize the cache contents, if the cache does not exist or is invalid.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPersistentDirectoryCache |
class |
DefaultPersistentDirectoryStore |
| Modifier and Type | Method and Description |
|---|---|
PersistentCache |
CacheFactory.open(File cacheDir,
String displayName,
CacheUsage usage,
CacheValidator cacheValidator,
Map<String,?> properties,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
PersistentCache |
CacheFactory.openStore(File storeDir,
String displayName,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
| Modifier and Type | Method and Description |
|---|---|
PersistentCache |
CacheFactory.open(File cacheDir,
String displayName,
CacheUsage usage,
CacheValidator cacheValidator,
Map<String,?> properties,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
PersistentCache |
CacheFactory.openStore(File storeDir,
String displayName,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
| Constructor and Description |
|---|
DefaultPersistentDirectoryCache(File dir,
String displayName,
CacheUsage cacheUsage,
CacheValidator validator,
Map<String,?> properties,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initAction,
FileLockManager lockManager) |
| Modifier and Type | Method and Description |
|---|---|
PersistentCache |
InMemoryCacheFactory.open(File cacheDir,
String displayName,
CacheUsage usage,
CacheValidator cacheValidator,
Map<String,?> properties,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
PersistentCache |
InMemoryCacheFactory.openStore(File storeDir,
String displayName,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
| Modifier and Type | Method and Description |
|---|---|
PersistentCache |
InMemoryCacheFactory.open(File cacheDir,
String displayName,
CacheUsage usage,
CacheValidator cacheValidator,
Map<String,?> properties,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
PersistentCache |
InMemoryCacheFactory.openStore(File storeDir,
String displayName,
FileLockManager.LockMode lockMode,
Action<? super PersistentCache> initializer) |
Copyright © 2013. All rights reserved