+1 Deprecate current setter and add new method accepting factory as parameter. Old method can wrap the filter in, let's say, SingletonFactory.
--Yakov 2015-07-31 22:29 GMT+03:00 Valentin Kulichenko < valentin.kuliche...@gmail.com>: > Igniters, > > It was brought to my attention that we always send the filter instance when > creating a continuous query. This is not correct if JCache entry listener > API is used, because it works with factories and assumes that filter is not > even Serializable, but we require it. > > I think this can be fixed, but my concern is backward > compatibility. CacheContinuousQueryHandler is Externalizable which makes it > tricky. Does anyone has suggestions? > > Ticket is created: https://issues.apache.org/jira/browse/IGNITE-1186 > > -Val >