| Package | Description |
|---|---|
| org.gradle.cache | |
| org.gradle.cache.internal |
| Modifier and Type | Method and Description |
|---|---|
DirectoryCacheBuilder |
CacheRepository.cache(String key)
Returns a builder for the cache with the given key.
|
DirectoryCacheBuilder |
DirectoryCacheBuilder.forObject(Object target) |
DirectoryCacheBuilder |
CacheRepository.store(String key)
Returns a builder for the store with the given key.
|
DirectoryCacheBuilder |
DirectoryCacheBuilder.withDisplayName(String displayName)
Specifies the display name for this cache.
|
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.
|
DirectoryCacheBuilder |
DirectoryCacheBuilder.withLockMode(FileLockManager.LockMode lockMode)
Specifies the initial lock mode to use.
|
DirectoryCacheBuilder |
DirectoryCacheBuilder.withProperties(Map<String,?> properties) |
DirectoryCacheBuilder |
DirectoryCacheBuilder.withValidator(CacheValidator validator) |
DirectoryCacheBuilder |
DirectoryCacheBuilder.withVersionStrategy(CacheBuilder.VersionStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
DirectoryCacheBuilder |
DefaultCacheRepository.cache(String key) |
DirectoryCacheBuilder |
DefaultCacheRepository.store(String key) |
Copyright © 2013. All rights reserved