Esempio n. 1
0
        public void When_FlushAll_Is_Called_On_BinaryNode_No_Exception_Is_Raised()
        {
            var config = ConfigurationManager.GetSection("memcached-config") as CouchbaseClientSection;
            var client = new CouchbaseClient(config);

            client.FlushAll();
        }
 public void When_FlushAll_Is_Called_On_BinaryNode_No_Exception_Is_Raised()
 {
     var config = ConfigurationManager.GetSection("memcached-config") as CouchbaseClientSection;
     using (var client = new CouchbaseClient(config))
     {
         client.FlushAll();
     }
 }
Esempio n. 3
0
 public void Clear()
 {
     client.FlushAll();
 }
 /// <summary>
 /// 移除所有缓存对象
 /// </summary>
 public override void RemoveAllObjects()
 {
     dataCache.FlushAll();
 }
 public void FlushAll()
 {
     _memcachedClient.FlushAll();
 }