Hi Friends,
I am using Memcached for implementing distributed cache. The Library that i used for it is Enyim.Caching. With the help of its great documents I've furnished all my requirements. But i am not be able to find all cache key in the memory. With the help of System.Web.Caching i am doing for the same requirement as.
#region Gets the cache keys.
/// <summary>
/// Gets the cache keys.
/// </summary>
/// <returns></returns>
public override List<string> GetCacheKeys()
{
//ToDo:To be implemented
List<string> keys = new List<string>();
IDictionaryEnumerator ca = _cache.GetEnumerator();
while (ca.MoveNext())
{
keys.Add(ca.Key.ToString());
}
return keys;
}
#endregion
Please provide me appropriate solutions to fulfill my requirements.
i will be very thankful to you all.