Interface Cache

All Known Implementing Classes:
LRUCache, NOOPCache

public interface Cache
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String key)
    Get the Cached JsonPath
    void
    put(String key, JsonPath value)
    Add JsonPath to the cache
  • Method Details

    • get

      JsonPath get(String key)
      Get the Cached JsonPath
      Parameters:
      key - cache key to lookup the JsonPath
      Returns:
      JsonPath
    • put

      void put(String key, JsonPath value)
      Add JsonPath to the cache
      Parameters:
      key - cache key to store the JsonPath
      value - JsonPath to be cached
      Throws:
      InvalidJsonException