[infinispan-dev] ReplicateCommand

Mircea Markus mircea.markus at jboss.com
Thu Apr 2 04:18:36 EDT 2009


I've created https://jira.jboss.org/jira/browse/HORIZON-43

Manik Surtani wrote:
>
> 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 at 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.
>
> --
> Manik Surtani
> Lead, JBoss Cache
> http://www.jbosscache.org
> manik at jboss.org <mailto:manik at jboss.org>
>
>
>
>




More information about the infinispan-dev mailing list