Class TransactionMultiThreadedTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.TransactionMultiThreadedTest
-
public class TransactionMultiThreadedTest extends AbstractGremlinTest
Tests for graphs that has multithreaded access
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description TransactionMultiThreadedTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldChangeVertexProperty()
void
shouldCommit()
void
shouldCommitEdge()
void
shouldDeleteRelatedEdgesOnVertexDelete()
void
shouldDeleteVertexOnCommit()
void
shouldRollbackAddedEdge()
void
shouldRollbackAddedVertex()
-
Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
-
-
-
-
Method Detail
-
shouldCommit
public void shouldCommit() throws InterruptedException
- Throws:
InterruptedException
-
shouldDeleteVertexOnCommit
public void shouldDeleteVertexOnCommit() throws InterruptedException
- Throws:
InterruptedException
-
shouldDeleteRelatedEdgesOnVertexDelete
public void shouldDeleteRelatedEdgesOnVertexDelete() throws InterruptedException
- Throws:
InterruptedException
-
shouldChangeVertexProperty
public void shouldChangeVertexProperty()
-
shouldRollbackAddedVertex
public void shouldRollbackAddedVertex() throws InterruptedException
- Throws:
InterruptedException
-
shouldCommitEdge
public void shouldCommitEdge() throws InterruptedException
- Throws:
InterruptedException
-
shouldRollbackAddedEdge
public void shouldRollbackAddedEdge() throws InterruptedException
- Throws:
InterruptedException
-
-