public interface INativeTransaction
Modifier and Type | Method and Description |
---|---|
int |
beginNativeTransaction()
Increments the native transaction counter.
|
int |
commitNativeTransaction(int expectedCounter)
The native transaction is committed when the counter reaches
zero.
|
int |
getNativeTransactionCounter()
The current value of the native transaction counter.
|
void |
rollbackNativeTransaction()
Rollback all changes since the last time the native
transaction counter was zero.
|
int beginNativeTransaction()
int commitNativeTransaction(int expectedCounter)
beginNativeTransaction()
and throws an exception if
expectedCounter is not equal to the internal counter.
This provides an eager search for un-matched native transactions.if
- the expectedCounter is not equal to the
internal counter before the latter is decremented.void rollbackNativeTransaction()
int getNativeTransactionCounter()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.