Beispiel #1
0
        public override CacheNodeStatistics[] GetCacheStatistics(string cacheId)
        {
            Alachisoft.NCache.Caching.Cache cache      = GetCacheInstance(cacheId.ToLower(), null);
            List <CacheNodeStatistics>      statistics = null;

            if (cache != null)
            {
                statistics = cache.GetCacheNodeStatistics();
                if (statistics != null)
                {
                    return(statistics.ToArray());
                }
            }
            return(null);
        }