...
How each value is obtained:
1. <person-id>: 399820
- an integer identifier - obtained from the UserInstance instance:
getPerson().getID()
2. <req-method-node-id>: userLayoutRootNode
- obtained as follows:
(new UPFileSpec(req)).getMethodNodeId()
where the req is the HttpServletRequest. For example:
...
3. <upref-cache-key>: system1activeTab=1userLayoutRoot=rootnewNodeID=authenticated=true(folder:s10087:50%,)(folder:s10057:50%,)(fold
er:s10083:50%,)(folder:s10101:50%,)(folder:s10080:50%,)(folder:s10075:50%,)(folder:s10099:50%,)(folder:s10097:
50%,)(folder:s10070:50%,)(folder:s10095:50%,)(folder:s10064:50%,)(folder:s10091:50%,)userName=John Doeskin=spring(channel:n10077:false,)(channel:n10058:false,)
- definition in UserPreferences.java, obtained by:
uPreferencesManager.getUserPreferences().getCacheKey()
defined as follows:
[UPC:system]<profile-id><structure-upref><theme-upref>
...
a. [UPC:system] an optional String value ("system") prepended to System profiles
b. <profile-id>
- integer defined in UserProfile.getProfileId()
c. <structure-upref>
- a concatentation of cache keys from StructureStylesheetUserPreferences.getCacheKey()
and it's super-classes:
<str-stylesh-upref><str-theme-stylesh-upref><str-struct-stylesh-upref>
i. <str-stylesh-upref>: activeTab=1userLayoutRoot=rootnewNodeID=authenticated=true
- defined in: StylesheetUserPreferences.getCacheKey()
ii. <str-theme-stylesh-upref>: (None found in example: otherwise, would look like (channel:nnnnn:false,)
- defined in: ThemeStylesheetUserPreferences.getCacheKey()
iii. <str-struct-stylesh-upref>:
(folder:s10087:50%,)(folder:s10057:50%,)(folder:s10083:50%,)(folder:s10101:50%,)(folder:s10080:50%,)(folder:
s10075:50%,)(folder:s10099:50%,)(folder:s10097:50%,)(folder:s10070:50%,)(folder:s10095:50%,)(folder:s10064:
50%,)(folder:s10091:50%,)
- defined in: StructureStylesheetUserPreferences.getCacheKey()
d. <theme-upref>
- a concatenation of cache keys from ThemeStylesheetUserPreferences.getCacheKey()
<thm-stylesh-upref><thm-theme-stylesh-upref>
i. <thm-stylesh-upref>: userName=John Doeskin=spring
- defined in: StylesheetUserPreferences.getCacheKey()
ii. <thm-theme-stylesh-upref>: (channel:n10077:false,)(channel:n10058:false,)
- defined in: ThemeStylesheetUserPreferences.getCacheKey()
4. <ulayout-mgr-cache-key>: 7885417921252830597
- defined in SimpleUserLayoutManager.getCacheKey() - it is a random long
Notes
I believe there are thread contention issues with these two variables (systemCache UP-1145 and systemCharacterCache) since both are not synchronized and reads and updates are not made within the synchronized blocks either.
...