Package org.teiid.adminapi
Interface Transaction
-
- All Superinterfaces:
AdminObject
,DomainAware
,Serializable
- All Known Implementing Classes:
TransactionMetadata
public interface Transaction extends AdminObject, DomainAware
-
-
Field Summary
-
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.teiid.adminapi.AdminObject
getName, getProperties, getPropertyValue
-
Methods inherited from interface org.teiid.adminapi.DomainAware
getHostName, getServerGroup, getServerName
-
-
-
-
Method Detail
-
getAssociatedSession
String getAssociatedSession()
Get the session associated with the this transaction. May be null for an unassociated Global transaction.- Returns:
-
getScope
String getScope()
Get the scope for the transaction. Will be one of GLOBAL, LOCAL, REQUEST or INHERITED- Returns:
-
getId
String getId()
Returns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.- Returns:
-
getCreatedTime
long getCreatedTime()
Get the local creation time.- Returns:
-
-