Interface AdminCache
- All Known Implementing Classes:
AdminCacheFileStore,AdminCacheMemStore,AdminCacheWeakReference
public interface AdminCache
Simple cache for administration framework.
- Author:
- mmares
-
Method Summary
-
Method Details
-
get
Retrieve data from cache.- Parameters:
key- in the cacheclazz- Cache data will be converted to requested type using appropriateAdminCacheObjectProvider- Returns:
- Cached data converted to requested type or
nullif not cached
-
put
Puts data to cache.- Parameters:
key- in the cachedata- Cached data will be converted to raw bytes using appropriateAdminCacheObjectProvider
-
contains
Checked if content is in the cache.- Parameters:
key- in the cache
-
lastUpdated
Date when was cached data last updated.- Parameters:
key- in the cache- Returns:
Dateof last update or null if does not exist in cache
-