Package | Description |
---|---|
org.alfresco.repo.cache |
Modifier and Type | Method and Description |
---|---|
static <KEY extends Serializable,VAL> |
TransactionalCache.getSharedCacheValue(org.alfresco.repo.cache.SimpleCache<KEY,TransactionalCache.ValueHolder<VAL>> sharedCache,
KEY key) |
static <KEY extends Serializable,VAL> |
TransactionalCache.getSharedCacheValue(org.alfresco.repo.cache.SimpleCache<KEY,TransactionalCache.ValueHolder<VAL>> sharedCache,
KEY key,
TransactionStats stats)
Fetches a value from the shared cache.
|
static <KEY extends Serializable,VAL> |
TransactionalCache.putSharedCacheValue(org.alfresco.repo.cache.SimpleCache<KEY,TransactionalCache.ValueHolder<VAL>> sharedCache,
KEY key,
VAL value,
TransactionStats stats)
Values written to the backing cache need proper wrapping and unwrapping
|
void |
TransactionalCache.setSharedCache(org.alfresco.repo.cache.SimpleCache<Serializable,TransactionalCache.ValueHolder<V>> sharedCache)
Set the shared cache to use during transaction synchronization or when no transaction
is present.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.