Package | Description |
---|---|
javax.cache |
This package contains the API for JCache.
|
javax.cache.annotation |
The annotations in this package provide method interceptors for user supplied
classes.
|
javax.cache.event |
This package contains event listener interfaces.
|
Modifier and Type | Method | Description |
---|---|---|
<K,V,C extends Configuration<K,V>> |
CacheManager.createCache(String cacheName,
C configuration) |
Creates a named
Cache at runtime. |
<K,V> Cache<K,V> |
CacheManager.getCache(String cacheName) |
Looks up a managed
Cache given its name. |
<K,V> Cache<K,V> |
CacheManager.getCache(String cacheName,
Class<K> keyType,
Class<V> valueType) |
Looks up a managed
Cache given its name. |
static <K,V> Cache<K,V> |
Caching.getCache(String cacheName,
Class<K> keyType,
Class<V> valueType) |
A convenience that method that looks up a managed
Cache given its
name. |
Modifier and Type | Method | Description |
---|---|---|
<K,V> Cache<K,V> |
CacheResolver.resolveCache(CacheInvocationContext<? extends Annotation> cacheInvocationContext) |
Resolve the
Cache to use for the CacheInvocationContext . |
Modifier and Type | Method | Description |
---|---|---|
Cache |
CacheEntryEvent.getSource() |
Constructor | Description |
---|---|
CacheEntryEvent(Cache source,
EventType eventType) |
Constructs a cache entry event from a given cache as source
|
Copyright © 2017. All rights reserved.