public class TransactionalPortalCacheHelper
extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
TransactionalPortalCacheHelper.PortalCacheMap |
Modifier and Type | Field and Description |
---|---|
static TransactionLifecycleListener |
TRANSACTION_LIFECYCLE_LISTENER |
Constructor and Description |
---|
TransactionalPortalCacheHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
begin() |
static void |
commit()
Deprecated.
As of Judson (7.1.x), replaced by
commit(boolean) |
static void |
commit(boolean readOnly) |
static <K extends Serializable,V> |
get(PortalCache<K,V> portalCache,
K key) |
static Serializable |
getNullHolder() |
static boolean |
isEnabled() |
static <K extends Serializable,V> |
put(PortalCache<K,V> portalCache,
K key,
V value,
int ttl)
Deprecated.
As of Judson (7.1.x), replaced by
put(PortalCache, Serializable, Object, int, boolean) |
static <K extends Serializable,V> |
put(PortalCache<K,V> portalCache,
K key,
V value,
int ttl,
boolean mvcc) |
static <K extends Serializable,V> |
removeAll(PortalCache<K,V> portalCache)
Deprecated.
As of Judson (7.1.x), replaced by
removeAll(PortalCache, boolean) |
static <K extends Serializable,V> |
removeAll(PortalCache<K,V> portalCache,
boolean mvcc) |
static void |
rollback() |
public static final TransactionLifecycleListener TRANSACTION_LIFECYCLE_LISTENER
public static void begin()
@Deprecated public static void commit()
commit(boolean)
public static void commit(boolean readOnly)
public static <K extends Serializable,V> V get(PortalCache<K,V> portalCache, K key)
public static Serializable getNullHolder()
public static boolean isEnabled()
@Deprecated public static <K extends Serializable,V> void put(PortalCache<K,V> portalCache, K key, V value, int ttl)
put(PortalCache, Serializable, Object, int, boolean)
public static <K extends Serializable,V> void put(PortalCache<K,V> portalCache, K key, V value, int ttl, boolean mvcc)
@Deprecated public static <K extends Serializable,V> void removeAll(PortalCache<K,V> portalCache)
removeAll(PortalCache, boolean)
public static <K extends Serializable,V> void removeAll(PortalCache<K,V> portalCache, boolean mvcc)
public static void rollback()