This is one more argument to move to factories. --Yakov
2015-05-13 6:02 GMT+03:00 Valentin Kulichenko <[email protected] >: > All our implementations are Serializable. But we don't know anything about > user's implementations. > > -- > Val > > On Tue, May 12, 2015 at 11:50 AM, Dmitriy Setrakyan <[email protected] > > > wrote: > > > On Tue, May 12, 2015 at 2:45 PM, Valentin Kulichenko < > > [email protected]> wrote: > > > > > I already created a ticket ​anyway (can cloase it if we decide not to > > fix): > > > https://issues.apache.org/jira/browse/IGNITE-896 > > > > > > There is one more issue here: we require cache configuration to be > > > serializable for dynamic cache support. So if eviction policy, for > > example, > > > depends on some non-serializable objects, it will be very hard to > > > configure. It's probably a very rare use case, but we need to keep it > in > > > mind. > > > > > > > This is a good point. I think we should make everything that can end up > in > > configuration as Serializable. Would this be possible for eviction > policy? > > > > > > > > > > > > -- > > > Val > > > > > >
