infinispan/infinispan — pull request #1842 by pruivo (2013-05-27 16:24:27+00:00)
Title: ISPN-2861 Integrate the CloudTM extended statistics in Infinispan

https://issues.jboss.org/browse/ISPN-2861

**Note**: please integrate https://github.com/infinispan/infinispan/pull/1821 before this one. Also, ignore all the modifications made by the TO commit and if you have some comments to do about it, please do it in the correct PR. I only needed to "steal" the ```TransactionTrackInterceptor``` from the other PR.

* It looks like the ```blockingLatch``` was not correctly used in the ```ControlledRpcManager```. I fixed that too.

* I tried to keep the original code unchanged and tried to keep the original authors. I've made minor factorizations and removed the ```ThreadLocal``` stuff.

* The original code allowed to the user to set a transactional class to a transaction. I've removed that logic, but if you think that is useful, I can implement it.