org.apache.jetspeed.cache.impl
Class EhPortletWindowCache
java.lang.Object
org.apache.jetspeed.cache.impl.EhCacheImpl
org.apache.jetspeed.cache.impl.EhPortletWindowCache
- All Implemented Interfaces:
- org.apache.jetspeed.cache.JetspeedCache, org.apache.jetspeed.cache.PortletWindowCache
public class EhPortletWindowCache
- extends EhCacheImpl
- implements org.apache.jetspeed.cache.PortletWindowCache
EhPortletWindowCache
Implementation of PortletWindowCache
that is backed
Ehcache.
- Author:
- Scott T. Weaver
Methods inherited from class org.apache.jetspeed.cache.impl.EhCacheImpl |
addEventListener, clear, clone, createCacheKey, createElement, dispose, evictContentForSession, evictContentForUser, get, getTimeToIdleSeconds, getTimeToLiveSeconds, isKeyInCache, notifyListeners, put, remove, removeEventListener, removeQuiet |
portletEntityIdToEntityid
private Map portletEntityIdToEntityid
- Allows us to track
PortletWindow
s in cache by PortletEntity.getId()
EhPortletWindowCache
public EhPortletWindowCache(net.sf.ehcache.Ehcache ehcache)
getPortletWindow
public org.apache.pluto.om.window.PortletWindow getPortletWindow(String windowId)
- Specified by:
getPortletWindow
in interface org.apache.jetspeed.cache.PortletWindowCache
getPortletWindowByEntityId
public org.apache.pluto.om.window.PortletWindow getPortletWindowByEntityId(String portletEntityId)
- Specified by:
getPortletWindowByEntityId
in interface org.apache.jetspeed.cache.PortletWindowCache
putPortletWindow
public void putPortletWindow(org.apache.pluto.om.window.PortletWindow window)
- Specified by:
putPortletWindow
in interface org.apache.jetspeed.cache.PortletWindowCache
removePortletWindow
public void removePortletWindow(String portletWindowId)
- Specified by:
removePortletWindow
in interface org.apache.jetspeed.cache.PortletWindowCache
removePortletWindowByPortletEntityId
public void removePortletWindowByPortletEntityId(String portletEntityId)
- Specified by:
removePortletWindowByPortletEntityId
in interface org.apache.jetspeed.cache.PortletWindowCache
getAllPortletWindows
public Set getAllPortletWindows()
- Specified by:
getAllPortletWindows
in interface org.apache.jetspeed.cache.PortletWindowCache
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.