Package redis.clients.jedis.graph
Class GraphCommandObjects.GraphCacheList
java.lang.Object
redis.clients.jedis.graph.GraphCommandObjects.GraphCacheList
- Enclosing class:
GraphCommandObjects
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ResultSetgetCachedData(int index) A method to return a cached item if it is in the cache, or re-validate the cache if its invalidatedprivate voidAuxiliary method to parse a procedure result set and refresh the cache
-
Field Details
-
name
-
query
-
data
-
-
Constructor Details
-
GraphCacheList
- Parameters:
name- - graph idprocedure- - exact procedure command
-
-
Method Details
-
getCachedData
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
-