Interface ComCache

  • All Known Implementing Classes:
    Cache

    public interface ComCache
    Represents the ecu.test specific COMCache API.
    • Method Detail

      • insert

        void insert​(String filePath,
                    String dbChannel)
             throws ETComException
        Insert a database to the cache.
        Parameters:
        filePath - the file path of the database to be added to the cache
        dbChannel - the optional database channel. Only needed by bus and service databases.
        Throws:
        ETComException - in case of a COM exception
      • clear

        void clear​(boolean force)
            throws ETComException
        Remove all cache files of this category.
        Parameters:
        force - specifies wether to close already opend cache files
        Throws:
        ETComException - in case of a COM exception
      • getFiles

        List<String> getFiles()
                       throws ETComException
        Returns all cache files of this category.
        Returns:
        the list of available cache files
        Throws:
        ETComException - in case of a COM exception