Liferay 6.2-ce-ga5

com.liferay.portal.template
Class TemplateResourceCacheListener

java.lang.Object
  extended by com.liferay.portal.template.TemplateResourceCacheListener
All Implemented Interfaces:
CacheListener<String,TemplateResource>

public class TemplateResourceCacheListener
extends Object
implements CacheListener<String,TemplateResource>


Constructor Summary
TemplateResourceCacheListener(String templateResourceLoaderName)
           
 
Method Summary
 void notifyEntryEvicted(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource)
           
 void notifyEntryExpired(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource)
           
 void notifyEntryPut(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource)
           
 void notifyEntryRemoved(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource)
           
 void notifyEntryUpdated(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource)
           
 void notifyRemoveAll(PortalCache<String,TemplateResource> portalCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateResourceCacheListener

public TemplateResourceCacheListener(String templateResourceLoaderName)
Method Detail

notifyEntryEvicted

public void notifyEntryEvicted(PortalCache<String,TemplateResource> portalCache,
                               String key,
                               TemplateResource templateResource)
                        throws PortalCacheException
Specified by:
notifyEntryEvicted in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

notifyEntryExpired

public void notifyEntryExpired(PortalCache<String,TemplateResource> portalCache,
                               String key,
                               TemplateResource templateResource)
                        throws PortalCacheException
Specified by:
notifyEntryExpired in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

notifyEntryPut

public void notifyEntryPut(PortalCache<String,TemplateResource> portalCache,
                           String key,
                           TemplateResource templateResource)
                    throws PortalCacheException
Specified by:
notifyEntryPut in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

notifyEntryRemoved

public void notifyEntryRemoved(PortalCache<String,TemplateResource> portalCache,
                               String key,
                               TemplateResource templateResource)
                        throws PortalCacheException
Specified by:
notifyEntryRemoved in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

notifyEntryUpdated

public void notifyEntryUpdated(PortalCache<String,TemplateResource> portalCache,
                               String key,
                               TemplateResource templateResource)
                        throws PortalCacheException
Specified by:
notifyEntryUpdated in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

notifyRemoveAll

public void notifyRemoveAll(PortalCache<String,TemplateResource> portalCache)
                     throws PortalCacheException
Specified by:
notifyRemoveAll in interface CacheListener<String,TemplateResource>
Throws:
PortalCacheException

Liferay 6.2-ce-ga5