[infinispan-dev] ReplicateCommand

Mircea Markus mircea.markus at jboss.com
Tue Mar 31 06:16:36 EDT 2009


Hi,

Some thought on ReplicateCommand.
It is also used to replicate a single command, which is inefficient, as 
2 objects are unnecessarily created: the ReplicateCommand itself and an 
array holding only one object.
Why not replicated the aggregated command directly?
Another thing about the name: even though it is correct, it sounds very 
much like ReplicableCommand. I suggest renaming to CompositeCommand, or 
ContainerCommand.
wdyt?

Cheers,
Mircea




More information about the infinispan-dev mailing list