On 25 Oct 2010, at 13:59, Mircea Markus wrote:
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.
http://fisheye.jboss.org/browse/Infinispan/branches/4.2.x/core/src/test/j...
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org