com.liferay.portal.kernel.cache
Class MultiVMPoolUtil

java.lang.Object
  extended by com.liferay.portal.kernel.cache.MultiVMPoolUtil

public class MultiVMPoolUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan, Michael Young

Constructor Summary
MultiVMPoolUtil()
           
 
Method Summary
static void clear()
           
static
<K extends java.io.Serializable,V extends java.io.Serializable>
PortalCache<K,V>
getCache(java.lang.String name)
           
static
<K extends java.io.Serializable,V extends java.io.Serializable>
PortalCache<K,V>
getCache(java.lang.String name, boolean blocking)
           
static MultiVMPool getMultiVMPool()
           
static void removeCache(java.lang.String name)
           
 void setMultiVMPool(MultiVMPool multiVMPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiVMPoolUtil

public MultiVMPoolUtil()
Method Detail

clear

public static void clear()

getCache

public static <K extends java.io.Serializable,V extends java.io.Serializable> PortalCache<K,V> getCache(java.lang.String name)

getCache

public static <K extends java.io.Serializable,V extends java.io.Serializable> PortalCache<K,V> getCache(java.lang.String name,
                                                                                                        boolean blocking)

getMultiVMPool

public static MultiVMPool getMultiVMPool()

removeCache

public static void removeCache(java.lang.String name)

setMultiVMPool

public void setMultiVMPool(MultiVMPool multiVMPool)