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
- 另请参见:
- 序列化表格
从类 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.