ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1186) Filter is sent instead of factory when continuous query is created
Date Fri, 31 Jul 2015 19:23:04 GMT
Valentin Kulichenko created IGNITE-1186:
-------------------------------------------

             Summary: Filter is sent instead of factory when continuous query is created
                 Key: IGNITE-1186
                 URL: https://issues.apache.org/jira/browse/IGNITE-1186
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.1.4
            Reporter: Valentin Kulichenko
            Priority: Critical


{{CacheContinuousQueryHandler}}, which is sent to remote nodes on query creation always contains
{{CacheEntryEventSerializableFilter}}. This is OK for our {{ContinuousQuery}} API, because
it doesn't work with factories, but not OK for JCache entry listener API. {{CacheEntryListenerConfiguration}}
contains factory and it's assumed that the filter is created on remote node and is never sent
through network. But we require the filter to be {{Serializable}}.

We need to always send factory instead of the filter. In case of {{ContinuousQuery}} API we
can use singleton factory that will wrap the instance that already exist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message