Interface ComCache
-
- All Known Implementing Classes:
Cache
public interface ComCache
Represents the ecu.test specific COMCache API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear(boolean force)
Remove all cache files of this category.List<String>
getFiles()
Returns all cache files of this category.void
insert(String filePath, String dbChannel)
Insert a database to the cache.
-
-
-
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 cachedbChannel
- 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
-
-