Package | Description |
---|---|
org.cache2k | |
org.cache2k.configuration | |
org.cache2k.spi |
Modifier and Type | Method and Description |
---|---|
Cache2kConfiguration |
CacheBuilder.createConfiguration()
Deprecated.
|
Cache2kConfiguration |
CacheBuilder.getConfig()
Deprecated.
|
Cache2kConfiguration<K,V> |
Cache2kBuilder.toConfiguration()
Returns the configuration object this builder operates on.
|
Modifier and Type | Method and Description |
---|---|
abstract <K,V> Cache<K,V> |
CacheManager.createCache(Cache2kConfiguration<K,V> cfg)
Create a new cache from the configuration.
|
static <K1,T> CacheBuilder<K1,T> |
CacheBuilder.fromConfig(Cache2kConfiguration<K1,T> c)
Deprecated.
|
static <K,T> Cache2kBuilder<K,T> |
Cache2kBuilder.of(Cache2kConfiguration<K,T> c)
Create a builder from the configuration.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Cache2kConfiguration<K,V> |
Cache2kConfiguration.of(CacheType<K> keyType,
CacheType<V> valueType)
Construct a config instance setting the type parameters and returning a
proper generic type.
|
static <K,V> Cache2kConfiguration<K,V> |
Cache2kConfiguration.of(CacheType<K> keyType,
Class<V> valueType)
Construct a config instance setting the type parameters and returning a
proper generic type.
|
static <K,V> Cache2kConfiguration<K,V> |
Cache2kConfiguration.of(Class<K> keyType,
CacheType<V> valueType)
Construct a config instance setting the type parameters and returning a
proper generic type.
|
static <K,V> Cache2kConfiguration<K,V> |
Cache2kConfiguration.of(Class<K> keyType,
Class<V> valueType)
Construct a config instance setting the type parameters and returning a
proper generic type.
|
Modifier and Type | Method and Description |
---|---|
Cache2kConfiguration |
Cache2kCoreProvider.getDefaultConfiguration(CacheManager m)
Return the effective default configuration for this manager.
|
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.
|
cache2k API documentation. Copyright © 2000–2016 headissue GmbH, Munich.