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)

Reply via email to