本文整理了Java中com.arjuna.ats.txoj.Lock.print()
方法的一些代码示例,展示了Lock.print()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Lock.print()
方法的具体详情如下:
包路径:com.arjuna.ats.txoj.Lock
类名称:Lock
方法名:print
[英]functions inherited from StateManager
[中]从StateManager继承的函数
代码示例来源:origin: org.jboss.narayana.arjunacore/arjunacore
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: jbosstm/narayana
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: jbosstm/narayana
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: org.jboss.jbossts/jbossjta
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: org.jboss.jbossts.arjunacore/arjunacore
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: jboss.jbossts/jbossjts
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: org.jboss.jbossts.arjunacore/txoj
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
代码示例来源:origin: jbosstm/narayana
/**
* Print information about this instance on the specified
* <code>PrintWriter</code>.
*/
public void print (PrintWriter strm)
{
LockListIterator next = new LockListIterator(locksHeld);
Lock current;
strm.println("LocalLockManager for object " + get_uid());
if (!stateLoaded)
strm.println("No loaded state");
else if (locksHeld != null)
{
strm.println("\tCurrently holding : " + locksHeld.entryCount()
+ " locks");
while ((current = next.iterate()) != null)
current.print(strm);
}
else
strm.println("Currently holding : 0 locks");
}
内容来源于网络,如有侵权,请联系作者删除!