|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.cache.CmsVfsCache
public abstract class CmsVfsCache
Configurable VFS based cache, for caching objects related to offline/online resources.
Field Summary |
---|
Constructor Summary | |
---|---|
protected |
CmsVfsCache()
Initializes the cache. |
Method Summary | |
---|---|
void |
cmsEvent(CmsEvent event)
Acknowledge the occurrence of the specified event, implement this method to check for CmsEvents in your class. |
protected abstract void |
flush(boolean online)
Flushes the caches. |
protected void |
registerEventListener()
Adds this instance as an event listener to the CMS event manager. |
void |
shutdown()
Clean up at shutdown time. |
protected abstract void |
uncacheResource(CmsResource resource)
Removes a cached resource from the cache. |
protected void |
uncacheResources(java.util.List<CmsResource> resources)
Removes a bunch of cached resources from the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CmsVfsCache()
Method Detail |
---|
public void cmsEvent(CmsEvent event)
I_CmsEventListener
cmsEvent
in interface I_CmsEventListener
event
- CmsEvent that has occurredI_CmsEventListener.cmsEvent(org.opencms.main.CmsEvent)
public void shutdown()
OpenCmsCore.shutDown()
protected abstract void flush(boolean online)
online
- if to flush the online or offline cachesprotected void registerEventListener()
protected abstract void uncacheResource(CmsResource resource)
resource
- the resourceprotected void uncacheResources(java.util.List<CmsResource> resources)
resources
- a list of resourcesuncacheResource(CmsResource)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |