remoterwmutex.java

来自「java版ace,java程序员值得一看」· Java 代码 · 共 30 行

JAVA
30
字号
package JACE.netsvcs.Token;

/**
 * Proxy used by clients for accessing a reader/writer mutex
 *  at the token service.
 */
public class RemoteRWMutex extends RemoteLock
{
  /**
   * Constructor.
   *
   *@param tokenName name of the reader/writer lock to access
   *@param clientID identification of this client
   *@param host host of the token service
   *@param port port number of the token service
   */
  public RemoteRWMutex (String tokenName,
			String clientID,
			String host,
			int port)
  {
    super (LockTypes.RWLOCK,
	   0,
	   tokenName,
	   clientID,
	   host,
	   port);
  }
}

⌨️ 快捷键说明

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