Only SessionTracker should hold reference to sessionsWithTimeouts
-----------------------------------------------------------------

                 Key: ZOOKEEPER-1279
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1279
             Project: ZooKeeper
          Issue Type: Sub-task
            Reporter: Thomas Koch
            Assignee: Thomas Koch
            Priority: Minor


Currently the ZKDataBase, ZooKeeperServer and SessionTrackers hold references 
to the same map, called sessionsWithTimeouts everywhere. That's very confusing. 
It is possible to have the reference only in the SessionTrackers and take it 
from there if it should ever be needed outside.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to