Interface PythonReadCache

    • Method Detail

      • read

        InputStream read​(String key)
        Returns an input stream for the data cached with the provided key. It is the responsibility of the caller to close the stream.
      • readBytes

        @CheckForNull
        byte[] readBytes​(String key)
        Returns:
        the array of bytes stored for the given key, if any. null otherwise.
      • contains

        boolean contains​(String key)
        Checks whether the cache contains the provided key.