Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      • fix ordering of class members
      • Remove Interface Session and rename inner class SessionImpl to Session
      • make properties private final where possible
      • rename SessionTrackerImpl to LeaderSessionTracker. There's a LearnerSessionTracker, so it makes sense.
      • make the following code clearer, what does the bitshifting do?
            public static long initializeNextSession(long id) {
                long nextSid = 0;
                nextSid = (System.currentTimeMillis() << 24) >> 8;
                nextSid =  nextSid | (id <<56);
                return nextSid;
            }
        
      • replace the inner class SessionSet by a normal Set
      • make SessionTrackerImpl an instance of Runnable

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thkoch Thomas Koch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: