Search in sources :

Example 11 with NeoStoreBatchTransactionApplier

use of org.neo4j.kernel.impl.transaction.command.NeoStoreBatchTransactionApplier in project neo4j by neo4j.

the class TransactionRecordStateTest method apply.

private void apply(NeoStores neoStores, TransactionRepresentation transaction) throws Exception {
    BatchTransactionApplier applier = new NeoStoreBatchTransactionApplier(neoStores, mock(CacheAccessBackDoor.class), LockService.NO_LOCK_SERVICE);
    apply(applier, transaction);
}
Also used : NeoStoreBatchTransactionApplier(org.neo4j.kernel.impl.transaction.command.NeoStoreBatchTransactionApplier) NeoStoreBatchTransactionApplier(org.neo4j.kernel.impl.transaction.command.NeoStoreBatchTransactionApplier) BatchTransactionApplier(org.neo4j.kernel.impl.api.BatchTransactionApplier) CacheAccessBackDoor(org.neo4j.kernel.impl.core.CacheAccessBackDoor)

Aggregations

NeoStoreBatchTransactionApplier (org.neo4j.kernel.impl.transaction.command.NeoStoreBatchTransactionApplier)11 BatchTransactionApplier (org.neo4j.kernel.impl.api.BatchTransactionApplier)10 CacheAccessBackDoor (org.neo4j.kernel.impl.core.CacheAccessBackDoor)9 Test (org.junit.Test)7 NeoStores (org.neo4j.kernel.impl.store.NeoStores)7 ArrayList (java.util.ArrayList)3 RelationshipGroupCommand (org.neo4j.kernel.impl.transaction.command.Command.RelationshipGroupCommand)3 PhysicalTransactionRepresentation (org.neo4j.kernel.impl.transaction.log.PhysicalTransactionRepresentation)3 AtomicLong (java.util.concurrent.atomic.AtomicLong)2 LockService (org.neo4j.kernel.impl.locking.LockService)2 TransactionRepresentation (org.neo4j.kernel.impl.transaction.TransactionRepresentation)2 Command (org.neo4j.kernel.impl.transaction.command.Command)2 NodeCommand (org.neo4j.kernel.impl.transaction.command.Command.NodeCommand)2 PropertyCommand (org.neo4j.kernel.impl.transaction.command.Command.PropertyCommand)2 RelationshipCommand (org.neo4j.kernel.impl.transaction.command.Command.RelationshipCommand)2 StorageCommand (org.neo4j.storageengine.api.StorageCommand)2 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)1 InvocationOnMock (org.mockito.invocation.InvocationOnMock)1 Answer (org.mockito.stubbing.Answer)1 BatchTransactionApplierFacade (org.neo4j.kernel.impl.api.BatchTransactionApplierFacade)1