infinispan/infinispan — pull request #1140 by mmarkus (2012-05-28 14:59:10+00:00)
Title: ISPN-2071 Reduce contention on Hotrod cleint's TcpTransportFactory

https://issues.jboss.org/browse/ISPN-2071
- if trace is not used don't call getConnectionPool as that adds a lot of synchronisation overhead
- make the lock object final
- reduce contention on accessing transportCount by caching the value

t_2071_5 for 5.1.x