public abstract class ExpiryCacheResolver extends Object implements javax.cache.annotation.CacheResolver
| Modifier and Type | Field and Description |
|---|---|
protected javax.cache.CacheManager |
manager |
| Constructor and Description |
|---|
ExpiryCacheResolver(javax.cache.CacheManager manager) |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> javax.cache.Cache<K,V> |
createCache(String name) |
protected <K,V> javax.cache.configuration.Configuration<K,V> |
getConfiguration(String name) |
protected javax.cache.expiry.Duration |
getDuration() |
protected <K,V> javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> |
getFactory() |
<K,V> javax.cache.Cache<K,V> |
resolveCache(javax.cache.annotation.CacheInvocationContext<? extends Annotation> context) |
public <K,V> javax.cache.Cache<K,V> resolveCache(javax.cache.annotation.CacheInvocationContext<? extends Annotation> context)
resolveCache in interface javax.cache.annotation.CacheResolverprotected javax.cache.expiry.Duration getDuration()
protected <K,V> javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> getFactory()
protected <K,V> javax.cache.configuration.Configuration<K,V> getConfiguration(String name)
protected <K,V> javax.cache.Cache<K,V> createCache(String name)
Copyright © 2017. All rights reserved.