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

refactor Message classes process methods to not call CacheFactory.getInstance

    XMLWordPrintableJSON

Details

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

    Description

      The following message classes all call CacheFactory.getInstance from their process methods but should instead call "dm.getCache":
      org.apache.geode.internal.cache.CreateRegionProcessor.CreateRegionMessage.process(DistributionManager)
      org.apache.geode.internal.cache.persistence.MembershipFlushRequest.process(DistributionManager)
      org.apache.geode.internal.cache.persistence.MembershipViewRequest.process(DistributionManager)
      org.apache.geode.internal.cache.persistence.PersistentStateQueryMessage.process(DistributionManager)
      org.apache.geode.internal.cache.persistence.PrepareNewPersistentMemberMessage.process(DistributionManager)
      org.apache.geode.internal.cache.persistence.RemovePersistentMemberMessage.process(DistributionManager)
      org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.NetWriteRequestMessage.process(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: