[infinispan-dev] command id duplicated
Manik Surtani
manik at jboss.org
Wed Sep 1 11:33:02 EDT 2010
+1
On 1 Sep 2010, at 15:58, Mircea Markus wrote:
> Hi,
>
> Looks like a command can uniquely be identified by two ids. E.g.
>
> @Marshallable(externalizer = ReplicableCommandExternalizer.class, id = Ids.REMOVE_COMMAND)
> public class RemoveCommand extends AbstractDataWriteCommand {
> ...
> public static final byte COMMAND_ID = 10;
>
> ...
>
> It has an Marshallable id and an command id. Can't we just use one of them? Ids.REMOVE_COMMAND is my favourite as this way one can see the ids for all commands in a single place.
>
> Cheers,
> Mircea
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
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