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
- 
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
 
- 
shouldHandleConcurrentVertexDelete
public void shouldHandleConcurrentVertexDelete() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldChangeVertexProperty
public void shouldChangeVertexProperty()
 
- 
shouldHandleConcurrentChangeForVertexProperty
public void shouldHandleConcurrentChangeForVertexProperty() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleConcurrentChangeForVertexMetaProperty
public void shouldHandleConcurrentChangeForVertexMetaProperty() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldThrowExceptionWhenTryToAddVertexWithUsedId
public void shouldThrowExceptionWhenTryToAddVertexWithUsedId()
 
- 
shouldRollbackAddedVertex
public void shouldRollbackAddedVertex() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldReopenClosedTransaction
public void shouldReopenClosedTransaction()
 
- 
shouldCommitEdge
public void shouldCommitEdge() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldRollbackAddedEdge
public void shouldRollbackAddedEdge() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldDeleteEdgeOnCommit
public void shouldDeleteEdgeOnCommit() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleConcurrentDeleteEdge
public void shouldHandleConcurrentDeleteEdge() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleConcurrentChangeForProperty
public void shouldHandleConcurrentChangeForProperty() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingPropertyWhenOtherTxDeleteVertex
public void shouldHandleAddingPropertyWhenOtherTxDeleteVertex() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingPropertyWhenOtherTxAttemptsDeleteThenRollsback
public void shouldHandleAddingPropertyWhenOtherTxAttemptsDeleteThenRollsback() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingPropertyWhenOtherTxDeleteEdge
public void shouldHandleAddingPropertyWhenOtherTxDeleteEdge() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingEdgeWhenOtherTxDeleteVertex
public void shouldHandleAddingEdgeWhenOtherTxDeleteVertex() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingSameVertexInDifferentTx
public void shouldHandleAddingSameVertexInDifferentTx() throws InterruptedException- Throws:
 InterruptedException
 
- 
shouldHandleAddingVertexWhenOtherTxTryToDeleteSameVertex
public void shouldHandleAddingVertexWhenOtherTxTryToDeleteSameVertex() throws InterruptedException- Throws:
 InterruptedException
 
 - 
 
 -