public ICacheable FindAndTouch(T key) { lock (syncRoot) { ICacheable c = this.Find(key); if (c != null) { c.Touch(); } return(c); } }
public void Touch(ICacheable cacheable) { cacheable.Touch(); }