com.liferay.portal.template
Class TemplateResourceCacheListener
java.lang.Object
com.liferay.portal.template.TemplateResourceCacheListener
- All Implemented Interfaces:
- CacheListener<String,TemplateResource>
public class TemplateResourceCacheListener
- extends Object
- implements CacheListener<String,TemplateResource>
|
Method Summary |
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 |
TemplateResourceCacheListener
public TemplateResourceCacheListener(String templateResourceLoaderName)
notifyEntryEvicted
public void notifyEntryEvicted(PortalCache<String,TemplateResource> portalCache,
String key,
TemplateResource templateResource,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryEvicted in interface CacheListener<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 CacheListener<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 CacheListener<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 CacheListener<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 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