Class WebhookDeletedItemCacheRegion
java.lang.Object
de.hybris.platform.regioncache.region.impl.EHCacheRegion
de.hybris.platform.webhookservices.cache.WebhookDeletedItemCacheRegion
- All Implemented Interfaces:
CacheRegion
Cache region used to store deleted items.
-
Field Summary
Fields inherited from class de.hybris.platform.regioncache.region.impl.EHCacheRegion
cacheMap, lifecycleCallback, manager, stats -
Constructor Summary
ConstructorsConstructorDescriptionWebhookDeletedItemCacheRegion(String name, int maxEntries, String evictionPolicy, boolean exclusiveComputation, boolean statsEnabled, Long ttlSeconds) Initiates the region cache -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride to disable clear cache button in HACMethods inherited from class de.hybris.platform.regioncache.region.impl.EHCacheRegion
containsKey, createCacheConfiguration, createCacheEventListener, createCacheStatistics, destroy, get, getAllKeys, getCacheMaxEntries, getCacheRegionStatistics, getHandledTypes, getMaxReachedSize, getName, getWithLoader, init, invalidate, isStatsEnabled, registerLifecycleCallback, remove, setHandledTypes, setStatsEnabled, toString, unwrap
-
Constructor Details
-
WebhookDeletedItemCacheRegion
public WebhookDeletedItemCacheRegion(String name, int maxEntries, String evictionPolicy, boolean exclusiveComputation, boolean statsEnabled, Long ttlSeconds) Initiates the region cache- Parameters:
name- region cache namemaxEntries- maximum number of entriesevictionPolicy- eviction policyexclusiveComputation- flag for exclusive computationstatsEnabled- flag to enable statisticsttlSeconds- time to live in seconds for the cached items
-
-
Method Details
-
clearCache
public void clearCache()Override to disable clear cache button in HAC- Specified by:
clearCachein interfaceCacheRegion- Overrides:
clearCachein classEHCacheRegion
-