Darrel Schneider created GEODE-4369:
---------------------------------------

             Summary: the InternalRegion and InternalDistributedRegion 
interfaces should not have generic parameters
                 Key: GEODE-4369
                 URL: https://issues.apache.org/jira/browse/GEODE-4369
             Project: Geode
          Issue Type: Improvement
          Components: regions
            Reporter: Darrel Schneider


The InternalRegion and InternalDistributedRegion interfaces exist for internal 
code to be able to access internal implementation on classes the implement the 
Region interface.

The Region interface has generics so that application code can say what class 
is used for the "key" and "value". This allows applications to be less error 
prone and not have a bunch of casts in them.

But internally we never know at compile time what the type of the key and value 
of a Region instance will be. So internally we do not want the generics on 
these classes. It just causes us to always need to add <?,?> whenever we use 
this interface or live with a warning about using raw types.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to