On 1 Apr 2009, at 11:30, Mircea Markus wrote:
So, the interface it implements is more appropriately named (CacheRPCCommand). Perhaps there should be 2 separate implementations, SingleRPCCommand, MultipleRPCCommand?
<
mailto:manik@jboss.org>
Why do we need the SingleRPCCommand? Can't we replicated the aggregated command directly?
Nope. The container contains information on which cache to dispatch the command to. I don't want this to be in every command since that would duplicate the cache name in cases where > 1 command are in the same replication envelope, such as a prepare message.