Ryan McMahon created GEODE-6876:
-----------------------------------

             Summary: Replace CreateRegionFunction with existing 
RegionCreateFunction (gfsh) in Tomcat session state module
                 Key: GEODE-6876
                 URL: https://issues.apache.org/jira/browse/GEODE-6876
             Project: Geode
          Issue Type: Improvement
          Components: http session
            Reporter: Ryan McMahon


The Tomcat session state module uses a custom function for creating the session 
region on the server (CreateRegionFunction).  After reviewing that code, it 
appears that this could be replaced with the region creation function/logic 
used by gfsh (RegionCreateFunction).  The RegionCreateFunction is better tested 
and reusing it means less duplication.

The Redis adapter already does something similar; it uses the 
CreateRegionCommand gfsh object which in turn calls the RegionCreateFunction.  
That code may serve as a reference.



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

Reply via email to