com.liferay.portal.template
Class TemplateResourcePortalCacheListener
java.lang.Object
com.liferay.portal.template.TemplateResourcePortalCacheListener
- All Implemented Interfaces:
- PortalCacheListener<String,TemplateResource>
public class TemplateResourcePortalCacheListener
- extends Object
- implements PortalCacheListener<String,TemplateResource>
|
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 |
TemplateResourcePortalCacheListener
public TemplateResourcePortalCacheListener(String templateResourceLoaderName)
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