You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (JIRA)" <ji...@apache.org> on 2019/06/13 08:35:00 UTC

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

Owen Nichols created GEODE-6861:
-----------------------------------

             Summary: 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


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
(v7.6.3#76005)