public interface Cache2kCoreProvider
CacheManager
.Modifier and Type | Method and Description |
---|---|
void |
close()
Close all cache2k cache managers.
|
void |
close(ClassLoader l)
Close all cache manager associated to this class loader.
|
void |
close(ClassLoader l,
String managerName)
Close a specific cache manager by its name.
|
<K,V> Cache<K,V> |
createCache(CacheManager m,
Cache2kConfiguration<K,V> cfg)
Create a cache, apply external configuration before creating it.
|
ClassLoader |
getDefaultClassLoader()
Default class loader, this is the class loader used to load the cache implementation.
|
Cache2kConfiguration |
getDefaultConfiguration(CacheManager m)
Return the effective default configuration for this manager.
|
String |
getDefaultManagerName(ClassLoader cl) |
CacheManager |
getManager(ClassLoader cl,
String _name) |
void |
setDefaultManagerName(ClassLoader cl,
String s) |
void setDefaultManagerName(ClassLoader cl, String s)
CacheManager.setDefaultName(String)
String getDefaultManagerName(ClassLoader cl)
CacheManager.getDefaultName()
CacheManager getManager(ClassLoader cl, String _name)
ClassLoader getDefaultClassLoader()
void close()
void close(ClassLoader l)
void close(ClassLoader l, String managerName)
<K,V> Cache<K,V> createCache(CacheManager m, Cache2kConfiguration<K,V> cfg)
Cache2kConfiguration getDefaultConfiguration(CacheManager m)
null
cache2k API documentation. Copyright © 2000–2017 headissue GmbH, Munich.