public class DynamicPortalCacheManager<K extends Serializable,V> extends Object implements PortalCacheManager<K,V>
PORTAL_CACHE_MANAGER_NAME, PORTAL_CACHE_MANAGER_TYPE
Constructor and Description |
---|
DynamicPortalCacheManager(String portalCacheManagerName) |
Modifier and Type | Method and Description |
---|---|
void |
clearAll() |
void |
destroy() |
PortalCache<K,V> |
getPortalCache(String portalCacheName) |
PortalCache<K,V> |
getPortalCache(String portalCacheName,
boolean blocking) |
PortalCache<K,V> |
getPortalCache(String portalCacheName,
boolean blocking,
boolean mvcc) |
protected PortalCacheManager<K,V> |
getPortalCacheManager() |
Set<PortalCacheManagerListener> |
getPortalCacheManagerListeners() |
String |
getPortalCacheManagerName() |
boolean |
isClusterAware() |
void |
reconfigurePortalCaches(URL configurationURL) |
boolean |
registerPortalCacheManagerListener(PortalCacheManagerListener portalCacheManagerListener) |
void |
removePortalCache(String portalCacheName) |
protected void |
setPortalCacheManager(PortalCacheManager<? extends Serializable,?> portalCacheManager) |
boolean |
unregisterPortalCacheManagerListener(PortalCacheManagerListener portalCacheManagerListener) |
void |
unregisterPortalCacheManagerListeners() |
public DynamicPortalCacheManager(String portalCacheManagerName)
public void clearAll() throws PortalCacheException
clearAll
in interface PortalCacheManager<K extends Serializable,V>
PortalCacheException
public void destroy()
destroy
in interface PortalCacheManager<K extends Serializable,V>
public PortalCache<K,V> getPortalCache(String portalCacheName) throws PortalCacheException
getPortalCache
in interface PortalCacheManager<K extends Serializable,V>
PortalCacheException
public PortalCache<K,V> getPortalCache(String portalCacheName, boolean blocking) throws PortalCacheException
getPortalCache
in interface PortalCacheManager<K extends Serializable,V>
PortalCacheException
public PortalCache<K,V> getPortalCache(String portalCacheName, boolean blocking, boolean mvcc) throws PortalCacheException
getPortalCache
in interface PortalCacheManager<K extends Serializable,V>
PortalCacheException
public Set<PortalCacheManagerListener> getPortalCacheManagerListeners()
getPortalCacheManagerListeners
in interface PortalCacheManager<K extends Serializable,V>
public String getPortalCacheManagerName()
getPortalCacheManagerName
in interface PortalCacheManager<K extends Serializable,V>
public boolean isClusterAware()
isClusterAware
in interface PortalCacheManager<K extends Serializable,V>
public void reconfigurePortalCaches(URL configurationURL)
reconfigurePortalCaches
in interface PortalCacheManager<K extends Serializable,V>
public boolean registerPortalCacheManagerListener(PortalCacheManagerListener portalCacheManagerListener)
registerPortalCacheManagerListener
in interface PortalCacheManager<K extends Serializable,V>
public void removePortalCache(String portalCacheName)
removePortalCache
in interface PortalCacheManager<K extends Serializable,V>
public boolean unregisterPortalCacheManagerListener(PortalCacheManagerListener portalCacheManagerListener)
unregisterPortalCacheManagerListener
in interface PortalCacheManager<K extends Serializable,V>
public void unregisterPortalCacheManagerListeners()
unregisterPortalCacheManagerListeners
in interface PortalCacheManager<K extends Serializable,V>
protected PortalCacheManager<K,V> getPortalCacheManager()
protected void setPortalCacheManager(PortalCacheManager<? extends Serializable,?> portalCacheManager)