Michael,

There is no much detail to add. Although it's technically possible to
serialize lambdas and anonymous classes, it's usually not recommended, as
they can reference some objects from outside. If these objects are not
serializable (or not intended to be serialized), you're likely to get errors
and performance issues that are not easy to isolate.

To be on safe side it's better to use static classes instead for anything
that is serialized and sent across network. That gives you full control and
therefore this approach is less error-prone.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to