Uses of Interface
org.craftercms.core.cache.CacheItem
-
-
Uses of CacheItem in org.craftercms.core.cache
Methods in org.craftercms.core.cache that return CacheItem Modifier and Type Method Description CacheItemCache. get(String scope, Object key)Retrieves an item from a scope. -
Uses of CacheItem in org.craftercms.core.cache.impl
Classes in org.craftercms.core.cache.impl that implement CacheItem Modifier and Type Class Description classCacheItemImplDefault implementation ofCacheItem.Methods in org.craftercms.core.cache.impl that return CacheItem Modifier and Type Method Description CacheItemCacheImpl. get(String scope, Object key)Retrieves an item from a scope.CacheItemCacheStoreAdapter. get(String scope, Object key)Retrieves an item from a scope.Methods in org.craftercms.core.cache.impl with parameters of type CacheItem Modifier and Type Method Description protected booleanCacheImpl. checkForExpiration(CacheItem item)Checks if the givenCacheItemhas expired.protected booleanCacheImpl. checkForRefresh(CacheItem item, List<CacheItem> itemsToRefresh)Checks if a givenCacheItemneeds to be refreshed.protected voidCacheImpl. doChecks(CacheItem item, List<CacheItem> itemsToRefresh)Checks if the givenCacheItemhas expired or needs to be refreshed.protected StringCacheRefresherImpl. getScopeAndKeyString(CacheItem item)voidCacheStoreAdapter. put(CacheItem item)Puts an item in a scope.protected voidCacheRefresherImpl. refreshItem(CacheItem item, Cache cache)Refreshes only one item.Method parameters in org.craftercms.core.cache.impl with type arguments of type CacheItem Modifier and Type Method Description protected booleanCacheImpl. checkForRefresh(CacheItem item, List<CacheItem> itemsToRefresh)Checks if a givenCacheItemneeds to be refreshed.protected voidCacheImpl. doChecks(CacheItem item, List<CacheItem> itemsToRefresh)Checks if the givenCacheItemhas expired or needs to be refreshed.voidCacheRefresher. refreshItems(List<CacheItem> itemsToRefresh, Cache cache)Refreshes the specified list ofCacheItems.voidCacheRefresherImpl. refreshItems(List<CacheItem> itemsToRefresh, Cache cache)Refreshes the specified list ofCacheItems. -
Uses of CacheItem in org.craftercms.core.cache.impl.store
Methods in org.craftercms.core.cache.impl.store that return CacheItem Modifier and Type Method Description CacheItemMapCacheStoreAdapter. get(String scope, Object key)Retrieves an item from a scope.CacheItemNoopCacheStoreAdapter. get(String scope, Object key)Methods in org.craftercms.core.cache.impl.store with parameters of type CacheItem Modifier and Type Method Description voidMapCacheStoreAdapter. put(CacheItem item)Puts an item in a scope.voidNoopCacheStoreAdapter. put(CacheItem item) -
Uses of CacheItem in org.craftercms.core.cache.impl.store.guava
Methods in org.craftercms.core.cache.impl.store.guava that return CacheItem Modifier and Type Method Description CacheItemGuavaCacheStoreAdapter. get(String scope, Object key)Retrieves an item from a scope.Methods in org.craftercms.core.cache.impl.store.guava with parameters of type CacheItem Modifier and Type Method Description voidGuavaCacheStoreAdapter. put(CacheItem item)Puts an item in a scope. -
Uses of CacheItem in org.craftercms.core.service
Methods in org.craftercms.core.service that return CacheItem Modifier and Type Method Description CacheItemCacheService. getItem(Context context, Object key)Retrieves an item from the scope of the given context, or null if not found. -
Uses of CacheItem in org.craftercms.core.service.impl
Methods in org.craftercms.core.service.impl that return CacheItem Modifier and Type Method Description CacheItemCacheServiceImpl. getItem(Context context, Object key)
-