com.groupdocs.conversion.caching

Interface ICache

  • All Known Implementing Classes:
    FileCache, MemoryCache


    public interface ICache
    Defines methods required for storing rendered document and document resources сache.
    • Method Detail

      • set

        void set(String key,
                 Object value)
        Inserts a cache entry into the cache.
        Parameters:
        key - A unique identifier for the cache entry.
        value - The object to insert.
      • tryGetValue

        Object tryGetValue(String key)
        Gets the entry associated with this key if present.
        Parameters:
        key - A key identifying the requested entry.
        Returns:
        Object if the key was found or else null.
      • getKeys

        Iterable<String> getKeys(String filter)
        Returns all keys matching filter.
        Parameters:
        filter - The filter to use.
        Returns:
        Keys matching the filter.