Interface ResourceCache<K>

Type Parameters:
K - the type of keys in the cache.
All Known Implementing Classes:
PublisherCache, RootServicesCache, ServiceProviderCache

public interface ResourceCache<K>
A cache for OSLC resources and properties that are frequently used and rarely changed.
Since:
1.11.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Discards any cached value for key key.
    void
    Discards all entries in the cache.
  • Method Details

    • invalidate

      void invalidate(K key)
      Discards any cached value for key key.
      Parameters:
      key - the key to remove in the cache.
    • invalidateAll

      void invalidateAll()
      Discards all entries in the cache.