Package org.opencms.db.storage
Interface I_CmsStoredContentInfoCache
- All Known Implementing Classes:
CmsInMemoryStoredContentInfoCache,CmsNoopStoredContentInfoCache
public interface I_CmsStoredContentInfoCache
Cache for stored content info entries.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the cache.Returns an entry from the cache.voidput(CmsStoredContentInfoCacheKey key, CmsStoredContentInfo info) Stores an entry in the cache.voidRemoves an entry from the cache.
-
Method Details
-
clear
void clear()Clears the cache. -
get
Returns an entry from the cache.- Parameters:
key- the cache key- Returns:
- the cached entry, or
null
-
put
Stores an entry in the cache.- Parameters:
key- the cache keyinfo- the stored content info
-
remove
Removes an entry from the cache.- Parameters:
key- the cache key
-