public class PortalCacheHelperUtil
extends java.lang.Object
Constructor and Description |
---|
PortalCacheHelperUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
clearPortalCaches(java.lang.String portalCacheManagerName) |
static <K extends java.io.Serializable,V> |
getPortalCache(java.lang.String portalCacheManagerName,
java.lang.String portalCacheName) |
static <K extends java.io.Serializable,V> |
getPortalCache(java.lang.String portalCacheManagerName,
java.lang.String portalCacheName,
boolean mvcc) |
static <K extends java.io.Serializable,V> |
getPortalCache(java.lang.String portalCacheManagerName,
java.lang.String portalCacheName,
boolean mvcc,
boolean sharded) |
static <K extends java.io.Serializable,V> |
putWithoutReplicator(PortalCache<K,V> portalCache,
K key,
V value) |
static <K extends java.io.Serializable,V> |
putWithoutReplicator(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
static void |
removeAllWithoutReplicator(PortalCache<?,?> portalCache) |
static void |
removePortalCache(java.lang.String portalCacheManagerName,
java.lang.String portalCacheName) |
static void |
removePortalCaches(java.lang.String portalCacheManagerName,
long companyId) |
static <K extends java.io.Serializable> |
removeWithoutReplicator(PortalCache<K,?> portalCache,
K key) |
public static void clearPortalCaches(java.lang.String portalCacheManagerName)
public static <K extends java.io.Serializable,V> PortalCache<K,V> getPortalCache(java.lang.String portalCacheManagerName, java.lang.String portalCacheName)
public static <K extends java.io.Serializable,V> PortalCache<K,V> getPortalCache(java.lang.String portalCacheManagerName, java.lang.String portalCacheName, boolean mvcc)
public static <K extends java.io.Serializable,V> PortalCache<K,V> getPortalCache(java.lang.String portalCacheManagerName, java.lang.String portalCacheName, boolean mvcc, boolean sharded)
public static <K extends java.io.Serializable,V> void putWithoutReplicator(PortalCache<K,V> portalCache, K key, V value)
public static <K extends java.io.Serializable,V> void putWithoutReplicator(PortalCache<K,V> portalCache, K key, V value, int timeToLive)
public static void removeAllWithoutReplicator(PortalCache<?,?> portalCache)
public static void removePortalCache(java.lang.String portalCacheManagerName, java.lang.String portalCacheName)
public static void removePortalCaches(java.lang.String portalCacheManagerName, long companyId)
public static <K extends java.io.Serializable> void removeWithoutReplicator(PortalCache<K,?> portalCache, K key)