Class PortalCacheHelperUtil

Object
com.liferay.portal.kernel.cache.PortalCacheHelperUtil

public class PortalCacheHelperUtil extends Object
Author:
Tina Tian
  • Constructor Details

    • PortalCacheHelperUtil

      public PortalCacheHelperUtil()
  • Method Details

    • clearPortalCaches

      public static void clearPortalCaches(String portalCacheManagerName)
    • getPortalCache

      public static <K extends Serializable, V> PortalCache<K,V> getPortalCache(String portalCacheManagerName, String portalCacheName)
    • getPortalCache

      public static <K extends Serializable, V> PortalCache<K,V> getPortalCache(String portalCacheManagerName, String portalCacheName, boolean mvcc)
    • getPortalCache

      public static <K extends Serializable, V> PortalCache<K,V> getPortalCache(String portalCacheManagerName, String portalCacheName, boolean mvcc, boolean sharded)
    • putWithoutReplicator

      public static <K extends Serializable, V> void putWithoutReplicator(PortalCache<K,V> portalCache, K key, V value)
    • putWithoutReplicator

      public static <K extends Serializable, V> void putWithoutReplicator(PortalCache<K,V> portalCache, K key, V value, int timeToLive)
    • removeAllWithoutReplicator

      public static void removeAllWithoutReplicator(PortalCache<?,?> portalCache)
    • removePortalCache

      public static void removePortalCache(String portalCacheManagerName, String portalCacheName)
    • removePortalCaches

      public static void removePortalCaches(String portalCacheManagerName, long companyId)
    • removeWithoutReplicator

      public static <K extends Serializable> void removeWithoutReplicator(PortalCache<K,?> portalCache, K key)