Class CacheKey
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.history.cache.CacheKey
-
public class CacheKey extends java.lang.Object
This key is our "first layer". It is a key for the hash table that maps parameters that we require to be equal to SubCaches, which represent parameters that we allow to be different or "fuzzy". By separating these ideas out, we can be more efficient- map for required values, and then search for fuzzy matches. Right now, we only allow the time range to be fuzzy. Later we may allow the tags to be as well, so we can get a hit when we query for a sub-set of already cached tags.
-
-
Field Summary
Fields Modifier and Type Field Description protected TagHistoryQueryParams
params
-
Constructor Summary
Constructors Constructor Description CacheKey(TagHistoryQueryParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
params
protected TagHistoryQueryParams params
-
-
Constructor Detail
-
CacheKey
public CacheKey(TagHistoryQueryParams params)
-
-