public abstract class SailIsolationLevelTest extends Object
Constructor and Description |
---|
SailIsolationLevelTest() |
protected Sail store
public static void setUpClass()
protected abstract Sail createSail() throws SailException
SailException
protected boolean isSupported(IsolationLevels level) throws SailException
SailException
public void testLargeTransactionReadCommitted() throws InterruptedException
InterruptedException
public void testLargeTransactionSnapshot() throws InterruptedException
InterruptedException
public void testLargeTransactionSnapshotRead() throws InterruptedException
InterruptedException
public void testLargeTransactionSerializable() throws InterruptedException
InterruptedException
public void testLargeTransaction(IsolationLevel isolationLevel, int count) throws InterruptedException
InterruptedException
protected Thread incrementBy(CountDownLatch start, CountDownLatch observed, IsolationLevels level, ValueFactory vf, IRI subj, IRI pred, int by)
protected long count(SailConnection con, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) throws SailException
SailException
protected Literal readLiteral(SailConnection con, IRI subj, IRI pred) throws SailException
SailException
protected void insertTestStatement(SailConnection connection, int i) throws SailException
SailException
protected void assertNotFailed()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.