Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: