Liferay 7.0-ce-b4

com.liferay.portal.template
Class TemplateResourcePortalCacheListener

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

public class TemplateResourcePortalCacheListener
extends Object
implements PortalCacheListener<String,TemplateResource>


Constructor Summary
TemplateResourcePortalCacheListener(String templateResourceLoaderName)
           
 
Method Summary
 void dispose()
           
 void notifyEntryEvicted(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource, int timeToLive)
           
 void notifyEntryExpired(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource, int timeToLive)
           
 void notifyEntryPut(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource, int timeToLive)
           
 void notifyEntryRemoved(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource, int timeToLive)
           
 void notifyEntryUpdated(PortalCache<String,TemplateResource> portalCache, String key, TemplateResource templateResource, int timeToLive)
           
 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

TemplateResourcePortalCacheListener

public TemplateResourcePortalCacheListener(String templateResourceLoaderName)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface PortalCacheListener<String,TemplateResource>

notifyEntryEvicted

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

notifyEntryExpired

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

notifyEntryPut

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

notifyEntryRemoved

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

notifyEntryUpdated

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

notifyRemoveAll

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

Liferay 7.0-ce-b4