ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: Factories in continuous queries
Date Mon, 03 Aug 2015 14:47:09 GMT
+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.kulichenko@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message