Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1982

Refactor (touch|add)Session in SessionTrackerImpl.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.0
    • None
    • None
    • Reviewed

    Description

      This JIRA extends the idea of ZOOKEEPER-1978.

      Besides refactoring get-put operations of concurrentMap in addSession method, addSession also calls touchSession which repeatedly checks if session existed. So it would be nice for refactor. Refactoring the second issue is relevant to ZOOKEEPER-1978. So I create a this JIRA to fix both.

      Attachments

        1. ZOOKEEPER-1982.patch
          3 kB
          Hongchao Deng
        2. ZOOKEEPER-1982.patch
          4 kB
          Hongchao Deng
        3. ZOOKEEPER-1982.patch
          4 kB
          Hongchao Deng

        Issue Links

          Activity

            People

              hdeng Hongchao Deng
              hdeng Hongchao Deng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: