Interface DocumentCacheControl
public interface DocumentCacheControl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all caches.void
invalidateDocuments
(DocumentSource source, List<String> documentIDs) Remove all the documents in the list that belong to the given source from the cache.
-
Method Details
-
clearCaches
void clearCaches()Clears all caches. -
invalidateDocuments
Remove all the documents in the list that belong to the given source from the cache.- Parameters:
source
- A DocumentSource that uses the given cache to serve its documents.documentIDs
- Document IDs that need to be removed from the cache.
-