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 Sail |
createSail() |
protected void |
fail(String message,
Throwable t) |
protected boolean |
hasFailed() |
protected void |
insertTestStatement(SailConnection connection,
int i) |
protected void |
removeTestStatement(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 Sail createSail() throws SailException
SailExceptionpublic void testConcurrentAddLargeTxn()
throws Exception
Exceptionpublic void testConcurrentAddLargeTxnRollback()
throws Exception
Exceptionprotected boolean hasFailed()
protected void insertTestStatement(SailConnection connection, int i) throws SailException
SailExceptionprotected void removeTestStatement(SailConnection connection, int i) throws SailException
SailExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.