- Type Parameters:
T
- the type of the element stored in the cache.
- Direct Known Subclasses:
- DirectInstantiator.ConstructorCache
public abstract class ReflectionCache<T extends ReflectionCache.CachedInvokable<?>>
extends Object
A generic purpose, thread-safe cache which is aimed at storing information
about a class. The cache is a hierarchical cache, which key is a composite
of a receiver, and argument types. All those, key or arguments, are kept
in a weak reference, allowing the GC to recover memory if required.