@Service(value="blOverridePreCacheService") public class DefaultOverridePreCacheServiceImpl extends Object implements OverridePreCacheService
OverridePreCacheService
. Simply contains no-ops methods.Constructor and Description |
---|
DefaultOverridePreCacheServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<StandardCacheItem> |
findElements(String... cacheKeys)
Find any cached items matching the passed keys
|
void |
groomCacheBySiteOverride(String entityType,
Long cloneId,
boolean isRemove)
Add or remove from the cache based on an override declaration.
|
void |
groomCacheByTargetEntity(String entityType,
Serializable id)
Update an overridden entity value in the cache
|
boolean |
isActiveForType(String type)
Whether or not the cache is active for the specified type
|
boolean |
isActiveIsolatedSiteForType(Long siteId,
String entityType)
Assuming the passed in site is a standard site, determine whether or not the standard site has any
isolated values (i.e.
|
void |
refreshCache()
Refresh the entire cache structure.
|
public List<StandardCacheItem> findElements(String... cacheKeys)
OverridePreCacheService
findElements
in interface OverridePreCacheService
cacheKeys
- the keys to checkpublic boolean isActiveForType(String type)
OverridePreCacheService
isActiveForType
in interface OverridePreCacheService
type
- the entity type to checkpublic boolean isActiveIsolatedSiteForType(Long siteId, String entityType)
OverridePreCacheService
isActiveIsolatedSiteForType
in interface OverridePreCacheService
public void groomCacheBySiteOverride(String entityType, Long cloneId, boolean isRemove)
OverridePreCacheService
groomCacheBySiteOverride
in interface OverridePreCacheService
public void groomCacheByTargetEntity(String entityType, Serializable id)
OverridePreCacheService
groomCacheByTargetEntity
in interface OverridePreCacheService
public void refreshCache()
OverridePreCacheService
refreshCache
in interface OverridePreCacheService
Copyright © 2022. All rights reserved.