Package | Description |
---|---|
org.cache2k |
API package for cache2k Java caching library.
|
org.cache2k.configuration |
The cache configuration as a Java bean and support types.
|
org.cache2k.spi |
Service provider interface that is used by the cache2k implementation.
|
Modifier and Type | Method and Description |
---|---|
CacheManager |
AbstractCache.getCacheManager() |
CacheManager |
Cache.getCacheManager()
Return the cache manager for this cache instance.
|
CacheManager |
ForwardingCache.getCacheManager() |
static CacheManager |
CacheManager.getInstance()
Get the default cache manager for the default class loader.
|
static CacheManager |
CacheManager.getInstance(ClassLoader cl)
Get the default cache manager for the specified class loader.
|
static CacheManager |
CacheManager.getInstance(ClassLoader cl,
String managerName)
Retrieve a cache manager with the specified name using the specified classloader.
|
static CacheManager |
CacheManager.getInstance(String managerName)
Retrieve a cache manager with the specified name.
|
Modifier and Type | Method and Description |
---|---|
Cache2kBuilder<K,V> |
Cache2kBuilder.manager(CacheManager manager)
The manager, the created cache will belong to.
|
Modifier and Type | Method and Description |
---|---|
T |
CustomizationSupplier.supply(CacheManager manager)
Create or return an existing customization instance.
|
T |
CustomizationReferenceSupplier.supply(CacheManager ignored) |
T |
CustomizationSupplierByClassName.supply(CacheManager manager) |
Modifier and Type | Method and Description |
---|---|
CacheManager |
Cache2kCoreProvider.getManager(ClassLoader cl,
String _name) |
Modifier and Type | Method and Description |
---|---|
<K,V> Cache<K,V> |
Cache2kCoreProvider.createCache(CacheManager m,
Cache2kConfiguration<K,V> cfg)
Create a cache, apply external configuration before creating it.
|
Cache2kConfiguration |
Cache2kCoreProvider.getDefaultConfiguration(CacheManager m)
Return the effective default configuration for this manager.
|
cache2k API documentation. Copyright © 2000–2017 headissue GmbH, Munich.