public class TransactionMetadata extends AdminObjectImpl implements Transaction
attachmentsDELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD| Constructor and Description |
|---|
TransactionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssociatedSession()
Get the session associated with the this transaction.
|
long |
getCreatedTime()
Get the local creation time.
|
String |
getId()
Returns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.
|
String |
getScope()
Get the scope for the transaction.
|
void |
setAssociatedSession(String associatedSession) |
void |
setCreatedTime(long time) |
void |
setId(String id) |
void |
setScope(String scope) |
String |
toString() |
addAttachment, addAttchment, addProperty, getAttachment, getHostName, getName, getProperties, getPropertiesMap, getPropertyValue, getServerGroup, getServerName, removeAttachment, removeProperty, setHostName, setName, setProperties, setServerGroup, setServerNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getProperties, getPropertyValuegetHostName, getServerGroup, getServerNamepublic String getAssociatedSession()
TransactiongetAssociatedSession in interface Transactionpublic void setAssociatedSession(String associatedSession)
public String getScope()
TransactiongetScope in interface Transactionpublic void setScope(String scope)
public String getId()
TransactiongetId in interface Transactionpublic void setId(String id)
public long getCreatedTime()
TransactiongetCreatedTime in interface Transactionpublic void setCreatedTime(long time)
Copyright © 2020. All rights reserved.