You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2021/03/25 11:37:00 UTC

[jira] [Comment Edited] (IGNITE-14402) Java Thin: Continuous Query

    [ https://issues.apache.org/jira/browse/IGNITE-14402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308603#comment-17308603 ] 

Pavel Tupitsyn edited comment on IGNITE-14402 at 3/25/21, 11:36 AM:
--------------------------------------------------------------------

[~alex_pl] So we have a few options:
* Ignore JCache completely and create interfaces from scratch - not good - hard to switch from thick to thin and back
* Implement JCache fully - too big of a task right now
* Implement JCache partially and throw exceptions in some methods - not good - can break unexpectedly for some users
* Do NOT implement JCache, but use CacheEntryListener interface family and return null from CacheEntryEvent.getSource. Here we don't declare JCache compatibility, but simply use some of the interfaces to make the API similar to Thick. I think this is the most suitable approach, which can be extended to full JCache support in the future.

I guess this warrants a dev list discussion, let me start it.


was (Author: ptupitsyn):
So we have a few options:
* Ignore JCache completely and create interfaces from scratch - not good - hard to switch from thick to thin and back
* Implement JCache fully - too big of a task right now
* Implement JCache partially and throw exceptions in some methods - not good - can break unexpectedly for some users
* Do NOT implement JCache, but use CacheEntryListener interface family and return null from CacheEntryEvent.getSource. Here we don't declare JCache compatibility, but simply use some of the interfaces to make the API similar to Thick. I think this is the most suitable approach, which can be extended to full JCache support in the future.

I guess this warrants a dev list discussion, let me start it.

> Java Thin: Continuous Query
> ---------------------------
>
>                 Key: IGNITE-14402
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14402
>             Project: Ignite
>          Issue Type: New Feature
>          Components: thin client
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: iep-50
>             Fix For: 2.11
>
>
> Implement Continuous Query API in Java Thin Client.
> See .NET Thin Client as a reference: IGNITE-13148



--
This message was sent by Atlassian Jira
(v8.3.4#803005)