Hi,

We use anonymous classes in examples to improve readability of the code. But
in real world it's not recommended to use anonymous classes for something
that can be serialized, because they capture the reference to enclosing
class (this is a recommendation for any Java product, not only Ignite).

Static class is just inner class that do not reference the enclosing class:

private static class MyEntryProcessor implements EntryProcessor {
    ...
}

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/null-exception-about-EntryProcessor-tp7264p7322.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to