| Package | Description |
|---|---|
| org.gradle.cache | |
| org.gradle.cache.internal |
| Modifier and Type | Method and Description |
|---|---|
ObjectCacheBuilder<E,T> |
ObjectCacheBuilder.forObject(Object target)
Specifies the target domain object.
|
<K,V> ObjectCacheBuilder<V,PersistentIndexedCache<K,V>> |
CacheRepository.indexedCache(Class<K> keyType,
Class<V> elementType,
String key)
Returns a builder for the indexed cache with the given key.
|
<E> ObjectCacheBuilder<E,PersistentStateCache<E>> |
CacheRepository.stateCache(Class<E> elementType,
String key)
Returns a builder for the state cache with the given key.
|
ObjectCacheBuilder<E,T> |
ObjectCacheBuilder.withProperties(Map<String,?> properties)
Specifies the additional key properties for the cache.
|
ObjectCacheBuilder<E,T> |
ObjectCacheBuilder.withSerializer(Serializer<E> serializer) |
ObjectCacheBuilder<E,T> |
ObjectCacheBuilder.withVersionStrategy(CacheBuilder.VersionStrategy strategy)
Specifies the versioning strategy for this cache.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> ObjectCacheBuilder<V,PersistentIndexedCache<K,V>> |
DefaultCacheRepository.indexedCache(Class<K> keyType,
Class<V> elementType,
String key) |
<E> ObjectCacheBuilder<E,PersistentStateCache<E>> |
DefaultCacheRepository.stateCache(Class<E> elementType,
String key) |
Copyright © 2013. All rights reserved