Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3583 Remove all usages of static methods to the Cache
  3. GEODE-3594

refactor SearchLoadAndWriteProcessor to not use CacheFactory.getInstance

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • regions
    • None

    Description

      The following methods all call CacheFactory.getInstance and could instead call "dm.getCache":
      org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.NetSearchRequestMessage.doGet(DistributionManager)
      org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.QueryMessage.doGet(DistributionManager) twice
      org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.NetLoadRequestMessage.doLoad(DistributionManager)

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: