public interface I_CmsGlobalConfigurationCache
CmsGlobalConfigurationCacheEventHandler
class.It provides several method which allow the mentioned event handler class to update the cache object implementing this interface.
限定符和类型 | 方法和说明 |
---|---|
void |
clear()
Clears the cache.
|
void |
remove(CmsPublishedResource pubRes)
Removes a published resource from the cache.
|
void |
remove(CmsResource resource)
Removes a resource from the cache.
|
void |
update(CmsPublishedResource pubRes)
Updates the cache entry for the given published resource.
|
void |
update(CmsResource resource)
Updates the cache entry for the given resource.
|
void clear()
void remove(CmsPublishedResource pubRes)
pubRes
- the published resourcevoid remove(CmsResource resource)
resource
- the resource to removevoid update(CmsPublishedResource pubRes)
NOTE: Cache implementations should not directly read the updated resource in this method because it might interfere with other caches. Instead, the resource should be marked as updated and read the next time the cache is queried.
pubRes
- a published resourcevoid update(CmsResource resource)
NOTE: Cache implementations should not directly read the updated resource in this method because it might interfere with other caches. Instead, the resource should be marked as updated and read the next time the cache is queried.
resource
- the resource for which the cache entry should be updated