摘要:
mysql查看被锁住的表 查询是否锁表 show OPEN TABLES where In_use > 0; 查看所有进程 MySQL: show processlist; mariabd: show full processlist; 查询到相对应的进程 然后 kill id 杀掉指定mysql连 阅读全文
摘要:
using Newtonsoft.Json; using RedLockNet.SERedis; using RedLockNet.SERedis.Configuration; using StackExchange.Redis; using System; using System.Collect 阅读全文
摘要:
一、接口的作用: 我们定义一个接口: public interface IBark { void Bark(); } 1、 再定义一个类,继承于IBark,并且必需实现其中的Bark()方法 public class Dog:IBark { public Dog() {} public void B 阅读全文
摘要:
MVC里的拦截器接口(也叫过滤器接口) 1、IActionFilter(Action拦截器接口) Action拦截器分别在“执行Action之前”拦截和“执行Action之后”拦截,2个方法如下: // 摘要: // Called after the action method executes. 阅读全文