Interface DocumentCacheControl


public interface DocumentCacheControl
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears all caches.
    void
    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

      void invalidateDocuments(DocumentSource source, List<String> documentIDs)
      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.