You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:04:07 UTC

[jira] [Closed] (GEODE-6861) generify ClusterManagementService APIs

     [ https://issues.apache.org/jira/browse/GEODE-6861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dick Cavender closed GEODE-6861.
--------------------------------

> generify ClusterManagementService APIs
> --------------------------------------
>
>                 Key: GEODE-6861
>                 URL: https://issues.apache.org/jira/browse/GEODE-6861
>             Project: Geode
>          Issue Type: Improvement
>          Components: management
>            Reporter: Owen Nichols
>            Assignee: Jinmei Liao
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> currently CMS calls like `list(CacheElement)` return `<? extends RuntimeCacheElement>` which then has to be cast to the appropriate actual type.
> if we create a link between the filter type and result type, then generics can be used to give the correct actual return type in all cases, and we can get rid of a ton of warnings and sketchy workarounds like passing `class` parameters to methods that shouldn't need them.



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