You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Amey Barve (JIRA)" <ji...@apache.org> on 2016/11/23 13:18:58 UTC
[jira] [Assigned] (GEODE-1917) Add generic type parameters to the
CqEvent interface
[ https://issues.apache.org/jira/browse/GEODE-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amey Barve reassigned GEODE-1917:
---------------------------------
Assignee: Amey Barve
> Add generic type parameters to the CqEvent interface
> ----------------------------------------------------
>
> Key: GEODE-1917
> URL: https://issues.apache.org/jira/browse/GEODE-1917
> Project: Geode
> Issue Type: Bug
> Components: querying
> Reporter: Jared Stewart
> Assignee: Amey Barve
>
> The Region<Key, Value> interface uses generic type parameters to ensure type-safety of Region::get and Region::put operations. The CqEvent interface has similar methods CqEvent::getKey and CqEvent::getNewValue, but these methods return raw objects. If we add generic <Key, Value> parameters to CqEvent then we can have CqEvent::getKey return a Key and CqEvent::getNewValue return a Value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)