Liferay 7.0-ce-m6

com.liferay.portal.cache.memory
Class MemoryPortalCacheManager<K extends Serializable,V>

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

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


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.cache.AbstractPortalCacheManager
aggregatedCacheManagerListener, portalCaches
 
Fields inherited from interface com.liferay.portal.kernel.cache.PortalCacheManager
PORTAL_CACHE_MANAGER_NAME, PORTAL_CACHE_MANAGER_TYPE
 
Constructor Summary
MemoryPortalCacheManager()
           
 
Method Summary
static
<K extends Serializable,V>
MemoryPortalCacheManager<K,V>
createMemoryPortalCacheManager(String portalCacheManagerName)
           
protected  PortalCache<K,V> createPortalCache(PortalCacheConfiguration portalCacheConfiguration)
           
 void destroy()
           
protected  void doClearAll()
           
protected  void doDestroy()
           
protected  void doRemoveCache(String portalCacheName)
           
protected  PortalCacheManagerConfiguration getPortalCacheManagerConfiguration()
           
protected  String getType()
           
protected  void initialize()
           
protected  void initPortalCacheManager()
           
 void reconfigureCaches(URL configurationURL)
           
 void setCacheInitialCapacity(int cacheInitialCapacity)
           
 void setCacheManagerInitialCapacity(int cacheManagerInitialCapacity)
           
 
Methods inherited from class com.liferay.portal.kernel.cache.AbstractPortalCacheManager
clearAll, getCache, getCache, getCacheManagerListeners, getName, getTransactionalCacheNames, isBlockingCacheAllowed, isBootstrapCacheLoaderEnabled, isClusterAware, isTransactionalCacheEnabled, isTransactionalPortalCache, reconfigPortalCache, registerCacheManagerListener, removeCache, setBlockingCacheAllowed, setBootstrapCacheLoaderEnabled, setClusterAware, setMpiOnly, setName, setTransactionalCacheEnabled, setTransactionalCacheNames, unregisterCacheManagerListener, unregisterCacheManagerListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryPortalCacheManager

public MemoryPortalCacheManager()
Method Detail

createMemoryPortalCacheManager

public static <K extends Serializable,V> MemoryPortalCacheManager<K,V> createMemoryPortalCacheManager(String portalCacheManagerName)

destroy

public void destroy()
Specified by:
destroy in interface PortalCacheManager<K extends Serializable,V>
Overrides:
destroy in class AbstractPortalCacheManager<K extends Serializable,V>

reconfigureCaches

public void reconfigureCaches(URL configurationURL)

setCacheInitialCapacity

public void setCacheInitialCapacity(int cacheInitialCapacity)

setCacheManagerInitialCapacity

public void setCacheManagerInitialCapacity(int cacheManagerInitialCapacity)

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>

doRemoveCache

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

getPortalCacheManagerConfiguration

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

getType

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

initialize

protected void initialize()
Overrides:
initialize 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-m6