infinispan/infinispan — pull request #1705 by pruivo (2013-03-05 18:55:13+00:00)
Title: ISPN-2808 - Make Infinispan use its own thread pool for sending messages...

... in order to avoid thread deadlocks

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

My Idea:
* created a new thread pool to async request
* added a new method in ReplicableCommand (isProcessedAsynchronously) that returns true if the command should be processed in the ISPN thread pool
** the commands that returns true are the possible blocking commands (i.e. the can make sync remote invocation, aquire locks, etc.)
* then a command is processed normally in the thread pool