redundantlockrequestexception.java

来自「分布式数据库原形代码 可以支持个用户同时登陆到数据库中查询需要的资源」· Java 代码 · 共 21 行

JAVA
21
字号
package lockmgr;/*	The transaction requested a lock that it already had.*/public class RedundantLockRequestException extends Exception{	protected int xid = 0;		public RedundantLockRequestException (int xid, String msg)	{		super(msg);		this.xid = xid;	}		public int getXId() {		return this.xid;	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?