[infinispan-dev] Defining new commands in modules

Manik Surtani manik at jboss.org
Mon Oct 25 08:57:46 EDT 2010


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)

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list