[infinispan-dev] Improve WriteCommand processing code and [possibly] performance