Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
org.jboss.weld.bootstrap | |
org.jboss.weld.util.cache | |
org.jboss.weld.util.collections |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLoadingCache<K,V>
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
class |
ForwardingLoadingCache<K,V>
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>
A simplified version of
ForwardingLoadingCache where subclasses can pass in an already
constructed LoadingCache as the delegete. |
Modifier and Type | Method and Description |
---|---|
<K1 extends K,V1 extends V> |
CacheBuilder.build(CacheLoader<? super K1,V1> loader)
Builds a cache, which either returns an already-loaded value for a given key or atomically
computes or retrieves it using the supplied
CacheLoader . |
protected abstract LoadingCache<K,V> |
ForwardingLoadingCache.delegate() |
protected LoadingCache<K,V> |
ForwardingLoadingCache.SimpleForwardingLoadingCache.delegate() |
Constructor and Description |
---|
ForwardingLoadingCache.SimpleForwardingLoadingCache(LoadingCache<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
protected void |
BeanDeployer.createClassBean(SlimAnnotatedType<?> annotatedType,
LoadingCache<Class<?>,Set<SlimAnnotatedType<?>>> otherWeldClasses) |
Constructor and Description |
---|
BeanDeployerEnvironment(Set<SlimAnnotatedType<?>> annotatedTypes,
Map<AnnotatedType<?>,Extension> annotatedTypeSource,
Set<Class<?>> vetoedClasses,
LoadingCache<Class<?>,Set<AbstractClassBean<?>>> classBeanMap,
Set<ProducerField<?,?>> producerFields,
LoadingCache<BeanDeployerEnvironment.WeldMethodKey,Set<ProducerMethod<?,?>>> producerMethodBeanMap,
Set<RIBean<?>> beans,
Set<ObserverInitializationContext<?,?>> observers,
Set<DisposalMethod<?,?>> allDisposalBeans,
Set<DisposalMethod<?,?>> resolvedDisposalBeans,
Set<DecoratorImpl<?>> decorators,
Set<InterceptorImpl<?>> interceptors,
EjbDescriptors ejbDescriptors,
Set<EnhancedAnnotatedType<?>> newManagedBeanClasses,
Map<InternalEjbDescriptor<?>,EnhancedAnnotatedType<?>> newSessionBeanDescriptorsFromInjectionPoint,
BeanManagerImpl manager) |
BeanDeployerEnvironment(Set<SlimAnnotatedType<?>> annotatedTypes,
Map<AnnotatedType<?>,Extension> annotatedTypeSource,
Set<Class<?>> vetoedClasses,
LoadingCache<Class<?>,Set<AbstractClassBean<?>>> classBeanMap,
Set<ProducerField<?,?>> producerFields,
LoadingCache<BeanDeployerEnvironment.WeldMethodKey,Set<ProducerMethod<?,?>>> producerMethodBeanMap,
Set<RIBean<?>> beans,
Set<ObserverInitializationContext<?,?>> observers,
Set<DisposalMethod<?,?>> allDisposalBeans,
Set<DisposalMethod<?,?>> resolvedDisposalBeans,
Set<DecoratorImpl<?>> decorators,
Set<InterceptorImpl<?>> interceptors,
EjbDescriptors ejbDescriptors,
Set<EnhancedAnnotatedType<?>> newManagedBeanClasses,
Map<InternalEjbDescriptor<?>,EnhancedAnnotatedType<?>> newSessionBeanDescriptorsFromInjectionPoint,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
static <K,V> V |
LoadingCacheUtils.getCacheValue(LoadingCache<K,V> cache,
K key)
Get the cache value for the given key.
|
static <T,K,V> T |
LoadingCacheUtils.getCastCacheValue(LoadingCache<K,V> cache,
Object key)
Get and cast the cache value for the given key.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> LoadingCache<K,Set<V>> |
Multimaps.newConcurrentSetMultimap()
Creates a
ConcurrentMap instance whose values are populated with synchronized HashSet instances. |
Copyright © 2013 Seam Framework. All Rights Reserved.