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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvalidate(K key)Discards any cached value for keykey.voidinvalidateAll()Discards all entries in the cache.
-
-
-
Method Detail
-
invalidate
void invalidate(K key)
Discards any cached value for keykey.- Parameters:
key- the key to remove in the cache.
-
invalidateAll
void invalidateAll()
Discards all entries in the cache.
-
-