public class TransactionTest extends AbstractGremlinTest
config, g, graph, graphComputerClass, graphProvider, name| Constructor and Description | 
|---|
| TransactionTest() | 
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, isComputerTest, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIdspublic void shouldHaveExceptionConsistencyWhenTransactionAlreadyOpen()
public void shouldHaveExceptionConsistencyWhenTransactionOpenOnClose()
public void shouldHaveExceptionConsistencyWhenUsingManualTransaction()
public void shouldHaveExceptionConsistencyWhenUsingManualTransactionOnCommit()
public void shouldHaveExceptionConsistencyWhenUsingManualTransactionOnRollback()
public void shouldAllowJustCommitOnlyWithAutoTransaction()
public void shouldAllowJustRollbackOnlyWithAutoTransaction()
public void shouldHaveExceptionConsistencyWhenOnCloseToNull()
public void shouldHaveExceptionConsistencyWhenOnReadWriteToNull()
public void shouldAllowAutoTransactionToWorkWithoutMutationByDefault()
public void shouldNotifyTransactionListenersOnCommitSuccess()
public void shouldNotifyTransactionListenersInSameThreadOnlyOnCommitSuccess()
                                                                     throws Exception
Exceptionpublic void shouldNotifyTransactionListenersOnRollbackSuccess()
public void shouldNotifyTransactionListenersInSameThreadOnlyOnRollbackSuccess()
                                                                       throws Exception
Exceptionpublic void shouldCommitElementAutoTransactionByDefault()
public void shouldRollbackElementAutoTransactionByDefault()
public void shouldCommitPropertyAutoTransactionByDefault()
public void shouldRollbackPropertyAutoTransactionByDefault()
public void shouldCommitOnCloseWhenConfigured()
                                       throws Exception
Exceptionpublic void shouldRollbackOnCloseByDefault()
                                    throws Exception
Exceptionpublic void shouldExecuteWithCompetingThreads()
public void shouldExecuteCompetingThreadsOnMultipleDbInstances()
                                                        throws Exception
Exceptionpublic void shouldSupportTransactionIsolationCommitCheck()
                                                  throws Exception
Exceptionpublic void shouldSupportMultipleThreadsOnTheSameTransaction()
                                                      throws Exception
Exceptionpublic void shouldSupportTransactionFireAndForget()
public void shouldSupportTransactionOneAndDone()
public void shouldSupportTransactionExponentialBackoff()
public void shouldSupportTransactionExponentialBackoffWithExceptionChecks()
public void shouldSupportTransactionRetry()
public void shouldSupportTransactionRetryWhenUsingManualTransactions()
public void shouldCountVerticesEdgesOnPreTransactionCommit()
public void shouldSupportTransactionIsolationWithSeparateThreads()
                                                          throws Exception
Exceptionpublic void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextManual()
public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextManual()
public void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextAuto()
public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextAuto()
public void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadManual()
                                                                 throws Exception
Exceptionpublic void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadManual()
                                                               throws Exception
Exceptionpublic void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadAuto()
                                                               throws Exception
Exceptionpublic void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadAuto()
                                                             throws Exception
Exceptionpublic void shouldNotShareTransactionReadWriteConsumersAcrossThreads()
                                                              throws InterruptedException
InterruptedExceptionpublic void shouldNotShareTransactionCloseConsumersAcrossThreads()
                                                          throws InterruptedException
InterruptedExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.