Liferay 7.0-ce-a2

com.liferay.portal.cache.test
Class TestPortalCacheManager<K extends Serializable,V>

java.lang.Object
  extended by com.liferay.portal.kernel.cache.AbstractPortalCacheManager<K,V>
      extended by com.liferay.portal.cache.test.TestPortalCacheManager<K,V>
All Implemented Interfaces:
PortalCacheManager<K,V>

public class TestPortalCacheManager<K extends Serializable,V>
extends AbstractPortalCacheManager<K,V>


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.cache.AbstractPortalCacheManager
aggregatedPortalCacheManagerListener, portalCacheBootstrapLoaderFactory, portalCacheListenerFactory, portalCacheManagerListenerFactory, portalCaches
 
Fields inherited from interface com.liferay.portal.kernel.cache.PortalCacheManager
PORTAL_CACHE_MANAGER_NAME, PORTAL_CACHE_MANAGER_TYPE
 
Constructor Summary
TestPortalCacheManager()
           
 
Method Summary
protected  PortalCache<K,V> createPortalCache(PortalCacheConfiguration portalCacheConfiguration)
           
static
<K extends Serializable,V>
TestPortalCacheManager<K,V>
createTestPortalCacheManager(String portalCacheManagerName)
           
protected  void doClearAll()
           
protected  void doDestroy()
           
protected  void doRemovePortalCache(String portalCacheName)
           
protected  PortalCacheManagerConfiguration getPortalCacheManagerConfiguration()
           
protected  void initPortalCacheManager()
           
 void reconfigurePortalCaches(URL configurationURL)
           
 
Methods inherited from class com.liferay.portal.kernel.cache.AbstractPortalCacheManager
clearAll, destroy, getPortalCache, getPortalCache, getPortalCacheManagerListeners, getPortalCacheManagerName, getTransactionalPortalCacheNames, initialize, isBlockingPortalCacheAllowed, isClusterAware, isPortalCacheBootstrapLoaderEnabled, isTransactionalPortalCache, isTransactionalPortalCacheEnabled, reconfigPortalCache, registerPortalCacheManagerListener, removePortalCache, setBlockingPortalCacheAllowed, setClusterAware, setMpiOnly, setPortalCacheBootstrapLoaderEnabled, setPortalCacheManagerName, setTransactionalPortalCacheEnabled, setTransactionalPortalCacheNames, unregisterPortalCacheManagerListener, unregisterPortalCacheManagerListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPortalCacheManager

public TestPortalCacheManager()
Method Detail

createTestPortalCacheManager

public static <K extends Serializable,V> TestPortalCacheManager<K,V> createTestPortalCacheManager(String portalCacheManagerName)

reconfigurePortalCaches

public void reconfigurePortalCaches(URL configurationURL)

createPortalCache

protected PortalCache<K,V> createPortalCache(PortalCacheConfiguration portalCacheConfiguration)
Specified by:
createPortalCache in class AbstractPortalCacheManager<K extends Serializable,V>

doClearAll

protected void doClearAll()
Specified by:
doClearAll in class AbstractPortalCacheManager<K extends Serializable,V>

doDestroy

protected void doDestroy()
Specified by:
doDestroy in class AbstractPortalCacheManager<K extends Serializable,V>

doRemovePortalCache

protected void doRemovePortalCache(String portalCacheName)
Specified by:
doRemovePortalCache in class AbstractPortalCacheManager<K extends Serializable,V>

getPortalCacheManagerConfiguration

protected PortalCacheManagerConfiguration getPortalCacheManagerConfiguration()
Specified by:
getPortalCacheManagerConfiguration in class AbstractPortalCacheManager<K extends Serializable,V>

initPortalCacheManager

protected void initPortalCacheManager()
Specified by:
initPortalCacheManager in class AbstractPortalCacheManager<K extends Serializable,V>

Liferay 7.0-ce-a2