Class PageCacheService

    • Constructor Detail

      • PageCacheService

        public PageCacheService()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the Service name
        Returns:
        The name as a String
      • notifyElementEvicted

        public void notifyElementEvicted​(net.sf.ehcache.Ehcache cache,
                                         net.sf.ehcache.Element element)
        Description copied from class: AbstractCacheableService
        Specified by:
        notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        notifyElementEvicted in class AbstractCacheableService
        Parameters:
        cache - The Ehcache object
        element - The Element object
        See Also:
        CacheEventListener.notifyElementEvicted(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
      • notifyElementExpired

        public void notifyElementExpired​(net.sf.ehcache.Ehcache cache,
                                         net.sf.ehcache.Element element)
        Description copied from class: AbstractCacheableService
        Specified by:
        notifyElementExpired in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        notifyElementExpired in class AbstractCacheableService
        Parameters:
        cache - The Ehcache object
        element - The Element object
        See Also:
        CacheEventListener.notifyElementExpired(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
      • notifyElementRemoved

        public void notifyElementRemoved​(net.sf.ehcache.Ehcache cache,
                                         net.sf.ehcache.Element element)
        Description copied from class: AbstractCacheableService
        Specified by:
        notifyElementRemoved in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        notifyElementRemoved in class AbstractCacheableService
        Parameters:
        cache - The Ehcache object
        element - The Element object
        See Also:
        CacheEventListener.notifyElementRemoved(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
      • notifyRemoveAll

        public void notifyRemoveAll​(net.sf.ehcache.Ehcache cache)
        Description copied from class: AbstractCacheableService
        Specified by:
        notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        notifyRemoveAll in class AbstractCacheableService
        Parameters:
        cache - The Ehcache object
        See Also:
        CacheEventListener.notifyRemoveAll(net.sf.ehcache.Ehcache)
      • removeKeyFromMap

        public void removeKeyFromMap​(net.sf.ehcache.Element element)
        Parameters:
        element - The Element object
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        clone in class AbstractCacheableService
        Returns:
        the instance
        See Also:
        Object.clone()