public class TransactionTest extends AbstractGremlinTest
config, g, graph, graphProvider, name
Constructor and Description |
---|
TransactionTest() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIds
public 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
Exception
public void shouldNotifyTransactionListenersOnRollbackSuccess()
public void shouldNotifyTransactionListenersInSameThreadOnlyOnRollbackSuccess() throws Exception
Exception
public void shouldCommitElementAutoTransactionByDefault()
public void shouldRollbackElementAutoTransactionByDefault()
public void shouldCommitPropertyAutoTransactionByDefault()
public void shouldRollbackPropertyAutoTransactionByDefault()
public void shouldCommitOnCloseWhenConfigured() throws Exception
Exception
public void shouldRollbackOnCloseByDefault() throws Exception
Exception
public void shouldExecuteWithCompetingThreads()
public void shouldExecuteCompetingThreadsOnMultipleDbInstances() throws Exception
Exception
public void shouldSupportTransactionIsolationCommitCheck() throws Exception
Exception
public void shouldSupportMultipleThreadsOnTheSameTransaction() throws Exception
Exception
public void shouldOpenTxWhenThreadedTransactionIsCreated() throws Exception
Exception
public void shouldNotReuseThreadedTransaction() throws Exception
Exception
public 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
Exception
public void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextManual()
public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextManual()
public void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextAuto()
public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextAuto()
public void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadManual() throws Exception
Exception
public void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadManual() throws Exception
Exception
public void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadAuto() throws Exception
Exception
public void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadAuto() throws Exception
Exception
public void shouldNotShareTransactionReadWriteConsumersAcrossThreads() throws InterruptedException
InterruptedException
public void shouldNotShareTransactionCloseConsumersAcrossThreads() throws InterruptedException
InterruptedException
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.