public SortedDictionaryKey(TSORT sortVal, TKEY key)
 {
     SortVal = sortVal;
     Key     = key;
 }
예제 #2
0
 /// <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);
예제 #3
0
 /// <summary>
 /// Get value from cache
 /// </summary>
 /// <param name="key"></param>
 /// <returns></returns>
 public abstract TVAL Get(TKEY key, CacheStack.IParams param);
예제 #4
0
 public InnerReference(long refId, TKEY key, TVALUE value)
 {
     this.RefId = refId;
     this.Key   = key;
     this.Wref  = new WeakReference(value, false);
 }