Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6876

Replace CreateRegionFunction with existing RegionCreateFunction (gfsh) in Tomcat session state module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • http session
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rmcmahon Ryan McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: