org.teiid.adminapi
Interface Transaction

All Superinterfaces:
AdminObject, java.io.Serializable
All Known Implementing Classes:
TransactionMetadata

public interface Transaction
extends AdminObject


Field Summary
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 java.lang.String getAssociatedSession()
          Get the session associated with the this transaction.
 long getCreatedTime()
          Get the local creation time.
 java.lang.String getId()
          Returns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.
 java.lang.String getScope()
          Get the scope for the transaction.
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getName, getProperties, getPropertyValue
 

Method Detail

getAssociatedSession

java.lang.String getAssociatedSession()
Get the session associated with the this transaction. May be null for an unassociated Global transaction.

Returns:

getScope

java.lang.String getScope()
Get the scope for the transaction. Will be one of GLOBAL, LOCAL, or REQUEST

Returns:

getId

java.lang.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:


Copyright © 2011. All Rights Reserved.