]
Gustavo Fernandes commented on ISPN-8004:
-----------------------------------------
I was thinking of adding a {{.getId()}} to the encoder interface, and register the
encoders in the EncoderRegistry by those Ids and not Classes
Optimize serialization of encoders
----------------------------------
Key: ISPN-8004
URL:
https://issues.jboss.org/browse/ISPN-8004
Project: Infinispan
Issue Type: Enhancement
Components: Core
Affects Versions: 9.1.0.CR1
Reporter: Gustavo Fernandes
Certain cache operations such streams, compute and functional commands require shipping
the current associated encoder/wrapper to the cache instance to remote nodes.
Currently, the Class<?> representing the encoder is sent over the wire, both for
the key and for the value. It should be possible to associate an id to each
encoder/wrapper and sent those instead