Class SherpaCacheEvictService

java.lang.Object
org.dspace.app.sherpa.cache.SherpaCacheEvictService

public class SherpaCacheEvictService extends Object
This service is responsible to deal with the SherpaService cache.
Author:
Mykhaylo Boychuk (mykhaylo.boychuk at 4science.com)
  • Constructor Details

    • SherpaCacheEvictService

      public SherpaCacheEvictService()
  • Method Details

    • evictCacheValues

      public void evictCacheValues(Context context, Item item)
      Remove immediately from the cache all the response that are related to a specific item extracting the ISSNs from the item
      Parameters:
      context - The DSpace context
      item - an Item
    • evictAllCacheValues

      public void evictAllCacheValues()
      Invalidate immediately the Sherpa cache
    • setCacheManager

      public void setCacheManager(CacheManager cacheManager)
      Set the reference to the cacheManager
      Parameters:
      cacheManager -
    • setSherpaSubmitService

      public void setSherpaSubmitService(SHERPASubmitService sherpaSubmitService)
      Set the reference to the SherpaSubmitService
      Parameters:
      sherpaSubmitService -