Class NOOPCache

  • All Implemented Interfaces:
    Cache

    public class NOOPCache
    extends java.lang.Object
    implements Cache
    • Constructor Summary

      Constructors 
      Constructor Description
      NOOPCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JsonPath get​(java.lang.String key)
      Get the Cached JsonPath
      void put​(java.lang.String key, JsonPath value)
      Add JsonPath to the cache
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NOOPCache

        public NOOPCache()
    • Method Detail

      • get

        public JsonPath get​(java.lang.String key)
        Description copied from interface: Cache
        Get the Cached JsonPath
        Specified by:
        get in interface Cache
        Parameters:
        key - cache key to lookup the JsonPath
        Returns:
        JsonPath
      • put

        public void put​(java.lang.String key,
                        JsonPath value)
        Description copied from interface: Cache
        Add JsonPath to the cache
        Specified by:
        put in interface Cache
        Parameters:
        key - cache key to store the JsonPath
        value - JsonPath to be cached