Interface ResourceCache<K>
- Type Parameters:
K- the type of keys in the cache.
- All Known Implementing Classes:
PublisherCache,RootServicesCache,ServiceProviderCache
public interface ResourceCache<K>
A cache for OSLC resources and properties that are frequently used and rarely changed.
- Since:
- 1.11.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidate(K key) Discards any cached value for keykey.voidDiscards all entries in the cache.
-
Method Details
-
invalidate
Discards any cached value for keykey.- Parameters:
key- the key to remove in the cache.
-
invalidateAll
void invalidateAll()Discards all entries in the cache.
-