Class GraphCommandObjects.GraphCacheList

java.lang.Object
redis.clients.jedis.graph.GraphCommandObjects.GraphCacheList
Enclosing class:
GraphCommandObjects

private class GraphCommandObjects.GraphCacheList extends Object
  • Field Details

  • Constructor Details

    • GraphCacheList

      public GraphCacheList(String name, String procedure)
      Parameters:
      name - - graph id
      procedure - - exact procedure command
  • Method Details

    • getCachedData

      public String getCachedData(int index)
      A method to return a cached item if it is in the cache, or re-validate the cache if its invalidated
      Parameters:
      index - index of data item
      Returns:
      The string value of the specific procedure response, at the given index.
    • getProcedureInfo

      private void getProcedureInfo()
      Auxiliary method to parse a procedure result set and refresh the cache
    • callProcedure

      private ResultSet callProcedure()