- Cache<K,V> - Class in org.glassfish.hk2.utilities.cache
-
Cache implementation that relies on FutureTask.
- Cache(Computable<K, V>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
-
Create new cache with given computable to compute values.
- Cache(Computable<K, V>, Cache.CycleHandler<K>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
-
Create new cache with given computable and cycle handler.
- Cache.CycleHandler<K> - Interface in org.glassfish.hk2.utilities.cache
-
Should a cycle be detected during computation of a value
for given key, this interface allows client code to register
a callback that would get invoked in such a case.
- CacheEntry - Interface in org.glassfish.hk2.utilities.cache
-
This can be used to remove a specific cache entry from the cache,
for better control of the caching release semantics
- CacheKeyFilter<K> - Interface in org.glassfish.hk2.utilities.cache
-
This is used by the cache to remove a series of entries that
match this filter
- cast(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Casts this thing to the given type
- ClassReflectionHelper - Interface in org.glassfish.hk2.utilities.reflection
-
An interface representing useful reflection utilities
- ClassReflectionHelperImpl - Class in org.glassfish.hk2.utilities.reflection.internal
-
- ClassReflectionHelperImpl() - Constructor for class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- clazz(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Makes a nice, pretty class (without the package name)
- clean(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Removes this class (and all appropriate sub-classes) from the cache
- clean(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- clear() - Method in class org.glassfish.hk2.utilities.cache.Cache
-
Empty cache.
- clear() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Empty the cache.
- clone() - Method in class org.jvnet.hk2.component.MultiMap
-
Creates a copy of the map that contains the exact same key and value set.
- collection(Collection<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Returns a pretty string representing the collection
- Computable<K,V> - Interface in org.glassfish.hk2.utilities.cache
-
Utility interface to capture generic computation of type V from type K.
- compute(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
-
- compute(K) - Method in interface org.glassfish.hk2.utilities.cache.Computable
-
Defines an expensive computation to retrieve value V from key K.
- compute(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
- Constants - Class in org.glassfish.hk2.utilities.reflection
-
- Constants() - Constructor for class org.glassfish.hk2.utilities.reflection.Constants
-
- constructor(Constructor<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Make a nice pretty string out of the constructor and all its
parameters
- contains(K, V) - Method in class org.jvnet.hk2.component.MultiMap
-
Checks if the map contains the given key(s), also extending the search
to including the sub collection.
- containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
-
Returns true if the key has already been cached.
- containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Returns true if the key has already been cached.
- containsKey(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Checks if the map contains the given key.
- convertJavaBeanToBeanLikeMap(ClassReflectionHelper, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
-
Converts a Java bean to a bean-like Map
- createCache(int) - Static method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Creates a cache with the given maximum cache size
- createCacheEntry(K, V, boolean) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Create cache entry for given values.
- createMethodWrapper(Method) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Creates a method wrapper from the given method
- createMethodWrapper(Method) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- createMethodWrapper(Method) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Creates a method wrapper for the given method
- GeneralUtilities - Class in org.glassfish.hk2.utilities.general
-
This class contains utilities useful for any code
- GeneralUtilities() - Constructor for class org.glassfish.hk2.utilities.general.GeneralUtilities
-
- get(K) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
-
- get(K) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Returns the value associated with the given key.
- get(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Returns the elements indexed by the provided key
- getActualTypeArguments() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getAdvertisedTypesFromClass(Type, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getAdvertisedTypesFromObject(Object, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getAllFields(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Gets all fields for a class (taking class heirarchy into account)
- getAllFields(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllFieldWrappers(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllMethods(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Gets all methods for a class (taking class heirarchy into account)
- getAllMethods(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllMethodWrappers(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllTypes(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
- getAnnoType() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
-
Returns the annotation class for this annotation type
- getChangeEvents(ClassReflectionHelper, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
-
Gets the set of change events by comparing two different beans.
- getContractsFromClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getLogger() - Static method in class org.glassfish.hk2.utilities.reflection.Logger
-
Gets the singleton instance of the Logger
- getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
-
- getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Returns the maximum number of entries that will be stored in this cache
- getMethod() - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
-
- getMethod() - Method in interface org.glassfish.hk2.utilities.reflection.MethodWrapper
-
Returns the method associated with this wrapper
- getName(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the name that should be associated with this class
- getNameFromAllQualifiers(Set<Annotation>, AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the name from the &46;Named qualifier in this set of qualifiers
- getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Gets the first value if any, or null.
- getOwnerType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getQualifierAnnotations(AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifier annotations from the object
- getQualifiersFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifiers from the object
- getQualifiersFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifiers from the object
- getRawClass(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Given the type parameter gets the raw type represented
by the type, or null if this has no associated raw class
- getRawType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getScope() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
-
Returns the scope for this data structure
- getScopeAnnotationFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeAnnotationFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeFromClass(Class<?>, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeFromObject(Object, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getSystemProperty(String, String) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
-
- getTypeClosure(Type, Set<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the type closure, as restricted by the classes listed in the
set of contracts implemented
- getValue() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
-
Getter for this cache entry internal value.