Interface IRepositoryCache

All Known Implementing Classes:
RepositoryCache

public interface IRepositoryCache
Repository cache.
  • Method Summary

    Modifier and Type Method Description
    void clear()
    Clear the repository cache.
    byte[] get​(String path)
    Gets file content from the repository cache by path.
    void put​(String path, byte[] content)
    Adds file content to the repository cache.
    void remove​(String path)
    Remove file content from the repository cache by path.
  • Method Details

    • get

      byte[] get​(String path)
      Gets file content from the repository cache by path.
      Parameters:
      path - the repository path
      Returns:
      the file content
    • put

      void put​(String path, byte[] content)
      Adds file content to the repository cache.
      Parameters:
      path - the repository path
      content - the file content
    • remove

      void remove​(String path)
      Remove file content from the repository cache by path.
      Parameters:
      path - the repository path
    • clear

      void clear()
      Clear the repository cache.