Class RepositoryCache

java.lang.Object
org.eclipse.dirigible.repository.api.RepositoryCache
All Implemented Interfaces:
IRepositoryCache

public class RepositoryCache
extends Object
implements IRepositoryCache
The Class RepositoryCache.
  • Constructor Details

  • Method Details

    • get

      public byte[] get​(String path)
      Gets the.
      Specified by:
      get in interface IRepositoryCache
      Parameters:
      path - the path
      Returns:
      the byte[]
    • put

      public void put​(String path, byte[] content)
      Put.
      Specified by:
      put in interface IRepositoryCache
      Parameters:
      path - the path
      content - the content
    • remove

      public void remove​(String path)
      Removes the.
      Specified by:
      remove in interface IRepositoryCache
      Parameters:
      path - the path
    • clear

      public void clear()
      Clear.
      Specified by:
      clear in interface IRepositoryCache
    • enable

      public static void enable()
      Enable.
    • disable

      public static void disable()
      Disable.
    • isEnabled

      public static boolean isEnabled()
      Checks if is enabled.
      Returns:
      true, if is enabled