public interface ITransactionSPI extends ITransaction
ITransaction
implementations must also implement this interface.Modifier and Type | Method and Description |
---|---|
long |
getBeginTimeMillis()
Returns the time when this transaction began in milliseconds since January 1, 1970 UTC.
|
long |
getCreationTimeMillis()
Returns the time this transaction object was created.
|
Throwable |
getTransactionCreationTrace()
Returns a throwable used just as a trace to the transaction creation.
|
void |
setTransactionProviderCallback(ITransactionProviderCallback callback)
Sets the transaction provider callback object to be used by this
transaction.
|
getByConnectionId
addObserver, begin, close, commit, dispose, getAttribute, isActive, removeAttribute, removeObserver, rollback, setAttribute
void setTransactionProviderCallback(ITransactionProviderCallback callback)
callback
- the callback object.Throwable getTransactionCreationTrace()
StackTraceElement
, using
a throwable also provides higher-level methods.Throwable.getStackTrace()
long getCreationTimeMillis()
long getBeginTimeMillis()
IllegalStateException
- if the transaction never began.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.