neo4j/neo4j — pull request #2663 by jakub- (2014-07-10 12:39:05+00:00)
Title: Support for interrupting transactions via the transactional REST endpoin...

...t

o Ensure ThreadToStmCtxBridge.getTopLevelTransactionBoundToThisThread() does not throw when interrupted [FIX]
o Rename assertInTransaction to assertInUninterruptedTransaction all over the place
o Changes TransactionRegistry: Now uses an ActiveTransaction marker per tx instead of a singleton
(needed to hold a reference to the tx such that we can interrupt it from a different thread)
o Adds number of transaction interrupts to TransactionMonitor

Signed-off-by: Andres Taylor