org.neo4j.server.rest.transactional
Class TransactionHandleRegistry

java.lang.Object
  extended by org.neo4j.server.rest.transactional.TransactionHandleRegistry
All Implemented Interfaces:
TransactionRegistry

public class TransactionHandleRegistry
extends Object
implements TransactionRegistry


Constructor Summary
TransactionHandleRegistry(Clock clock, org.neo4j.kernel.impl.util.StringLogger log)
           
 
Method Summary
 TransactionHandle acquire(long id)
           
 long begin()
           
 void forget(long id)
           
 void release(long id, TransactionHandle transactionHandle)
           
 void rollbackAllSuspendedTransactions()
           
 void rollbackSuspendedTransactionsIdleSince(long oldestLastActiveTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionHandleRegistry

public TransactionHandleRegistry(Clock clock,
                                 org.neo4j.kernel.impl.util.StringLogger log)
Method Detail

begin

public long begin()
Specified by:
begin in interface TransactionRegistry

release

public void release(long id,
                    TransactionHandle transactionHandle)
Specified by:
release in interface TransactionRegistry

acquire

public TransactionHandle acquire(long id)
                          throws TransactionLifecycleException
Specified by:
acquire in interface TransactionRegistry
Throws:
TransactionLifecycleException

forget

public void forget(long id)
Specified by:
forget in interface TransactionRegistry

rollbackAllSuspendedTransactions

public void rollbackAllSuspendedTransactions()
Specified by:
rollbackAllSuspendedTransactions in interface TransactionRegistry

rollbackSuspendedTransactionsIdleSince

public void rollbackSuspendedTransactionsIdleSince(long oldestLastActiveTime)


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