Class FetchThroughMetadataCache<IdentifierType,​MetadataType>

  • Type Parameters:
    IdentifierType - the metadata identifier type.
    MetadataType - the metadata type.
    All Implemented Interfaces:
    MetadataCache<MetadataType>, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

    @ThreadSafe
    public class FetchThroughMetadataCache<IdentifierType,​MetadataType>
    extends AbstractMetadataCache<IdentifierType,​MetadataType>
    A metadata cache implementation that does not support reading and writing to a backing store. Entries are fetched, validated, and filtered before being returned to the caller. Each request always requires fetching and processing. This is not, therefore, a true cache, and is only useful for special cases which just want to exercise the fetch, validate, filter, cycle.