Class CacheRefresherImpl

    • Constructor Detail

      • CacheRefresherImpl

        public CacheRefresherImpl()
    • Method Detail

      • refreshItem

        protected void refreshItem​(CacheItem item,
                                   Cache cache)
                            throws Exception
        Refreshes only one item. To refresh the item, its CacheLoader is called to get a new value of the item. If the value returned by the loader is null, the item is removed from the cache instead.
        Throws:
        Exception
      • getScopeAndKeyString

        protected String getScopeAndKeyString​(CacheItem item)