com.arjuna.ats.txoj.Lock.type()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(178)

本文整理了Java中com.arjuna.ats.txoj.Lock.type()方法的一些代码示例,展示了Lock.type()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Lock.type()方法的具体详情如下:
包路径:com.arjuna.ats.txoj.Lock
类名称:Lock
方法名:type

Lock.type介绍

[英]Overrides StateManager.type()
[中]覆盖StateManager。类型()

代码示例

代码示例来源:origin: jbosstm/narayana

/**
 * Overrides Object.toString()
 */
public String toString ()
{
  StringWriter strm = new StringWriter();
  strm.write("Lock object : \n");
  strm.write("\ttype : "+type()+ "\n");
  strm.write("\tunique id is : " + get_uid() + "\n");
  strm.write("\tcurrent_status : "
      + LockStatus.printString(currentStatus));
  strm.write("\n\tMode : " + LockMode.stringForm(lMode));
  strm.write("\n\tOwner List : \n");
  owners.print(new PrintWriter(strm));
  return strm.toString();
}

代码示例来源:origin: jbosstm/narayana

/**
 * Overrides Object.toString()
 */
public String toString ()
{
  StringWriter strm = new StringWriter();
  strm.write("Lock object : \n");
  strm.write("\ttype : "+type()+ "\n");
  strm.write("\tunique id is : " + get_uid() + "\n");
  strm.write("\tcurrent_status : "
      + LockStatus.printString(currentStatus));
  strm.write("\n\tMode : " + LockMode.stringForm(lMode));
  strm.write("\n\tOwner List : \n");
  owners.print(new PrintWriter(strm));
  return strm.toString();
}

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

/**
 * Overrides Object.toString()
 */
public String toString ()
{
  StringWriter strm = new StringWriter();
  strm.write("Lock object : \n");
  strm.write("\ttype : "+type()+ "\n");
  strm.write("\tunique id is : " + get_uid() + "\n");
  strm.write("\tcurrent_status : "
      + LockStatus.printString(currentStatus));
  strm.write("\n\tMode : " + LockMode.stringForm(lMode));
  strm.write("\n\tOwner List : \n");
  owners.print(new PrintWriter(strm));
  return strm.toString();
}

代码示例来源:origin: org.jboss.narayana.arjunacore/arjunacore

/**
 * Overrides Object.toString()
 */
public String toString ()
{
  StringWriter strm = new StringWriter();
  strm.write("Lock object : \n");
  strm.write("\ttype : "+type()+ "\n");
  strm.write("\tunique id is : " + get_uid() + "\n");
  strm.write("\tcurrent_status : "
      + LockStatus.printString(currentStatus));
  strm.write("\n\tMode : " + LockMode.stringForm(lMode));
  strm.write("\n\tOwner List : \n");
  owners.print(new PrintWriter(strm));
  return strm.toString();
}

代码示例来源:origin: jbosstm/narayana

/**
 * Overrides Object.toString()
 */
public String toString ()
{
  StringWriter strm = new StringWriter();
  strm.write("Lock object : \n");
  strm.write("\ttype : "+type()+ "\n");
  strm.write("\tunique id is : " + get_uid() + "\n");
  strm.write("\tcurrent_status : "
      + LockStatus.printString(currentStatus));
  strm.write("\n\tMode : " + LockMode.stringForm(lMode));
  strm.write("\n\tOwner List : \n");
  owners.print(new PrintWriter(strm));
  return strm.toString();
}

相关文章