store
-
A Redis object. This has two purposes: First, to store any data the analyzer needs to persist to decide when to prefetch. Second, it uses Redis' publish-subscribe system to publish the URLs containing queries that the prefetcher should fetch.
count_patterns
-
Loops the triple patterns, checks if any of them have a cached result (TODO) and increments the number of times a certain predicate has been seen in the store. When that number exceeds the
count_threshold
, a single-element array of Attean::TriplePatterns will be returned.