org.allenai.common

cache

package cache

Visibility
  1. Public
  2. All

Type Members

  1. class JsonQueryCache[V] extends Logging

    Class holding a Redis cache of query results.

    Class holding a Redis cache of query results. This is meant to store any value T where T : spray.json.JsonFormat (any T with a json serialization as per spray json), keyed on string query. Multiple cache instances (instances pointing to different Redis caches) need to be configured to have different JedisPools.

Ungrouped