com.taobao.metamorphosis.transaction
类 TransactionId

java.lang.Object
  继承者 com.taobao.metamorphosis.transaction.TransactionId
所有已实现的接口:
Serializable
直接已知子类:
LocalTransactionId, NullTransactionId, XATransactionId

public abstract class TransactionId
extends Object
implements Serializable

事务id包装类

作者:
boyan
另请参见:
序列化表格

字段摘要
static NullTransactionId Null
           
 
构造方法摘要
TransactionId()
           
 
方法摘要
abstract  String getTransactionKey()
           
abstract  boolean isLocalTransaction()
           
abstract  boolean isNull()
           
abstract  boolean isXATransaction()
           
static TransactionId valueOf(String key)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

Null

public static final NullTransactionId Null
构造方法详细信息

TransactionId

public TransactionId()
方法详细信息

isXATransaction

public abstract boolean isXATransaction()

isLocalTransaction

public abstract boolean isLocalTransaction()

getTransactionKey

public abstract String getTransactionKey()

isNull

public abstract boolean isNull()

valueOf

public static TransactionId valueOf(String key)


Copyright © 2010–2013. All rights reserved.