public SortedDictionaryKey(TSORT sortVal, TKEY key) { SortVal = sortVal; Key = key; }
/// <summary> /// Set value to cache /// </summary> /// <param name="key"></param> /// <param name="val"></param> /// <param name="param">optional object for cache control. NULL is acceptable</param> public abstract void Set(TKEY key, TVAL val, CacheStack.IParams param);
/// <summary> /// Get value from cache /// </summary> /// <param name="key"></param> /// <returns></returns> public abstract TVAL Get(TKEY key, CacheStack.IParams param);
public InnerReference(long refId, TKEY key, TVALUE value) { this.RefId = refId; this.Key = key; this.Wref = new WeakReference(value, false); }