Interface IRepositoryCache
- All Known Implementing Classes:
RepositoryCache
public interface IRepositoryCache
Repository cache.
-
Method Summary
Modifier and Type Method Description voidclear()Clear the repository cache.byte[]get(String path)Gets file content from the repository cache by path.voidput(String path, byte[] content)Adds file content to the repository cache.voidremove(String path)Remove file content from the repository cache by path.
-
Method Details
-
get
Gets file content from the repository cache by path.- Parameters:
path- the repository path- Returns:
- the file content
-
put
Adds file content to the repository cache.- Parameters:
path- the repository pathcontent- the file content
-
remove
Remove file content from the repository cache by path.- Parameters:
path- the repository path
-
clear
void clear()Clear the repository cache.
-