A C D E G I O P S 
All Classes All Packages

A

addCache(String, Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>>) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Adds a cache to this cache manager that may be configured via the Cache2kBuilder.
addCache(Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>>) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Adds a cache to this cache manager that may be configured via the Cache2kBuilder.
addCaches(Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>>...) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
 

C

cache - Variable in class org.cache2k.extra.spring.SpringCache2kCache
 
clear() - Method in class org.cache2k.extra.spring.SpringCache2kCache
May work async.

D

DEFAULT_SPRING_CACHE_MANAGER_NAME - Static variable in class org.cache2k.extra.spring.SpringCache2kCacheManager
Default name used for the cache2k cache manager controlled by the spring cache manager.
defaultSetup(Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>>) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Function providing default settings for caches added to the manager via SpringCache2kCacheManager.addCaches(java.util.function.Function<org.cache2k.Cache2kBuilder<?, ?>, org.cache2k.Cache2kBuilder<?, ?>>...) and for dynamically created caches (not configured explicitly) that are retrieved via SpringCache2kCacheManager.getCache(String).
destroy() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
 

E

evict(Object) - Method in class org.cache2k.extra.spring.SpringCache2kCache
May work async.
evictIfPresent(Object) - Method in class org.cache2k.extra.spring.SpringCache2kCache
Returns when evicted.

G

get(Object) - Method in class org.cache2k.extra.spring.SpringCache2kCache
Get value from the cache, may invoke the loader if one is specified.
get(Object, Class<T>) - Method in class org.cache2k.extra.spring.SpringCache2kCache
 
get(Object, Callable<T>) - Method in class org.cache2k.extra.spring.SpringCache2kCache
This method is called instead of get(java.lang.Object) and put(java.lang.Object, java.lang.Object) in case sync=true is specified on the Cacheable annotation.
getCache(String) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Returns an existing cache or creates and wraps a new cache if the creation of unknown caches is enabled.
getCacheMap() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Expose the map of created and wrapped caches.
getCacheNames() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Get a list of known caches.
getConfiguredCacheNames() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
List of configured cache names.
getName() - Method in class org.cache2k.extra.spring.SpringCache2kCache
 
getNativeCache() - Method in class org.cache2k.extra.spring.SpringCache2kCache
 
getNativeCacheManager() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Expose the native cache manager.

I

invalidate() - Method in class org.cache2k.extra.spring.SpringCache2kCache
Like clear, but returns when everything is cleared.
isAllowUnknownCache() - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
 
isLoaderPresent() - Method in class org.cache2k.extra.spring.SpringCache2kCache
 

O

org.cache2k.extra.spring - package org.cache2k.extra.spring
Spring support for cache2k

P

put(Object, Object) - Method in class org.cache2k.extra.spring.SpringCache2kCache
 
putIfAbsent(Object, Object) - Method in class org.cache2k.extra.spring.SpringCache2kCache
 

S

setAllowUnknownCache(boolean) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
setDefaultCacheNames(String...) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
 
setDefaultCacheNames(Collection<String>) - Method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Initialize the specified caches with defaults and disable dynamic creation of caches by setting SpringCache2kCacheManager.setAllowUnknownCache(boolean) to false
SpringCache2kCache - Class in org.cache2k.extra.spring
Cache wrapper for the spring cache abstraction.
SpringCache2kCache(Cache<Object, Object>) - Constructor for class org.cache2k.extra.spring.SpringCache2kCache
Create an adapter instance for the given cache2k instance.
SpringCache2kCacheManager - Class in org.cache2k.extra.spring
A Spring cache manager that manages cache2k caches.
SpringCache2kCacheManager() - Constructor for class org.cache2k.extra.spring.SpringCache2kCacheManager
Construct a spring cache manager, using the cache2k cache manager with the name "springDefault".
SpringCache2kCacheManager(String) - Constructor for class org.cache2k.extra.spring.SpringCache2kCacheManager
Construct a spring cache manager, using the cache2k cache manager instance with the specified name.
SpringCache2kCacheManager(CacheManager) - Constructor for class org.cache2k.extra.spring.SpringCache2kCacheManager
Construct a spring cache manager, using a custom cache2k cache manager.
springDefaults(Cache2kBuilder<?, ?>) - Static method in class org.cache2k.extra.spring.SpringCache2kCacheManager
Defaults for cache2k caches within Spring context.
A C D E G I O P S 
All Classes All Packages