com.liferay.portal.kernel.cache
Class SingleVMPoolUtil

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

public class SingleVMPoolUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan, Michael Young

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

Constructor Detail

SingleVMPoolUtil

public SingleVMPoolUtil()
Method Detail

clear

public static void clear()

getCache

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

getCache

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

getSingleVMPool

public static SingleVMPool getSingleVMPool()

removeCache

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

setSingleVMPool

public void setSingleVMPool(SingleVMPool singleVMPool)