Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2443

Ability to pass ClientCache object to GeodeSchema constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.18.0
    • geode-adapter
    • None

    Description

      Would like to create a new Constructor inside GeodeSchema that takes in the clientCache as a parameter. 

      We have a use case where the creation of geode clientCache is done in a separate api library.

      This the change I am proposing

      public GeodeSchema(String locatorHost, int locatorPort,
      String[] regionNames, String pdxAutoSerializerPackageExp,
      SchemaPlus parentSchema)

      { this(regionNames,createClientCache(locatorHost, locatorPort, pdxAutoSerializerPackageExp, true) ,parentSchema); }

      public GeodeSchema(String[] regionNames, ClientCache clientCache, SchemaPlus parentSchema)

      { super(); this.regionNames = regionNames; this.parentSchema = parentSchema; this.clientCache = clientCache; }

       

       

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            chadasa-gs Sandeep Chada
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: