[infinispan-dev] Defining new commands in modules

Mircea Markus mircea.markus at jboss.com
Mon Oct 25 08:59:49 EDT 2010


On 25 Oct 2010, at 13:57, Manik Surtani wrote:

> 
> On 25 Oct 2010, at 13:25, Mircea Markus wrote:
> 
>>> ?  What's so hard about this?  "implements Externabilzable" is the easy way, @Marshallable() a slightly more roundabout way for greater efficiency in marshalling.
>> what about managing unique command numbers?
> 
> That's only if you use @Marshallable.  Implementing Externalizable doesn't have this issue.  And there is a unit test that tests for duplicate command IDs (if the command is a part of the Infinispan src tree)
Yes, unique command ids is my concern.
> 
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
> 
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list