Package org.glassfish.hk2.utilities.cache


package org.glassfish.hk2.utilities.cache
  • Class
    Description
    Cache<K,V>
    Cache implementation that relies on FutureTask.
    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.
    This can be used to remove a specific cache entry from the cache, for better control of the caching release semantics
    This is used by the cache to remove a series of entries that match this filter
    Utilities for creating caches
    Utility interface to capture generic computation of type V from type K.
    This exception should be thrown from the Computable.compute(Object) method if the returned computation should NOT be kept in the cache.
    Represents a single hybrid cache entry.
    A cache that contains a certain number of entries, and whose oldest accessed entries are removed when removal is necessary.
    Hybrid cache that allows explicit removals of included entries as well as implicit removal of entries that have been least recently accessed.
    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.
    A cache that uses the CAR algorithm to remove entries.