org.neo4j.server.rest.transactional
Interface TransactionRegistry

All Known Implementing Classes:
TransactionHandleRegistry

public interface TransactionRegistry

Stores transaction contexts for the server, including handling concurrency safe ways to acquire transaction contexts back, as well as timing out and closing transaction contexts that have been left unused.


Method Summary
 TransactionHandle acquire(long id)
           
 long begin()
           
 void forget(long id)
           
 void release(long id, TransactionHandle transactionHandle)
           
 void rollbackAllSuspendedTransactions()
           
 

Method Detail

begin

long begin()

release

void release(long id,
             TransactionHandle transactionHandle)

acquire

TransactionHandle acquire(long id)
                          throws TransactionLifecycleException
Throws:
TransactionLifecycleException

forget

void forget(long id)

rollbackAllSuspendedTransactions

void rollbackAllSuspendedTransactions()


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.