public abstract class SailConcurrencyTest extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
SailConcurrencyTest.UploadTransaction |
| Constructor and Description |
|---|
SailConcurrencyTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.eclipse.rdf4j.sail.Sail |
createSail() |
protected void |
fail(String message,
Throwable t) |
protected boolean |
hasFailed() |
protected void |
insertTestStatement(org.eclipse.rdf4j.sail.SailConnection connection,
int i) |
protected void |
removeTestStatement(org.eclipse.rdf4j.sail.SailConnection connection,
int i) |
void |
setUp() |
void |
tearDown() |
void |
testConcurrentAddLargeTxn()
Verifies that two large concurrent transactions in separate contexts do not cause inconsistencies or
errors.
|
void |
testConcurrentAddLargeTxnRollback()
Verifies that two large concurrent transactions in separate contexts do not cause inconsistencies or
errors when one of the transactions rolls back at the end.
|
void |
testGetContextIDs() |
protected abstract org.eclipse.rdf4j.sail.Sail createSail()
throws org.eclipse.rdf4j.sail.SailException
org.eclipse.rdf4j.sail.SailExceptionpublic void testConcurrentAddLargeTxn()
throws Exception
Exceptionhttps://github.com/eclipse/rdf4j/issues/693public void testConcurrentAddLargeTxnRollback()
throws Exception
Exceptionprotected boolean hasFailed()
protected void insertTestStatement(org.eclipse.rdf4j.sail.SailConnection connection,
int i)
throws org.eclipse.rdf4j.sail.SailException
org.eclipse.rdf4j.sail.SailExceptionprotected void removeTestStatement(org.eclipse.rdf4j.sail.SailConnection connection,
int i)
throws org.eclipse.rdf4j.sail.SailException
org.eclipse.rdf4j.sail.SailExceptionCopyright © 2015-2017 Eclipse Foundation. All Rights Reserved.