Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3180

Put an optional expire date on items in field org.openmrs.api.context.Context.volatileUserData

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: TBD
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      Undetermined
    • Development:

      Description

      File: /openmrs/api/src/main/java/org/openmrs/api/context/Context.java
      Line: 155
      Patch:

      Index: api/src/main/java/org/openmrs/api/context/Context.java
      ===================================================================
      — api/src/main/java/org/openmrs/api/context/Context.java (revision 26658)
      +++ api/src/main/java/org/openmrs/api/context/Context.java (working copy)
      @@ -152,6 +152,7 @@

      // A place to store data that will persist longer than a session, but won't
      // persist beyond application restart
      + // Issue was added: TRUNK-3180
      // TODO: put an optional expire date on these items
      private static Map<User, Map<String, Object>> volatileUserData = new WeakHashMap<User, Map<String, Object>>();

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                nullakilla Anton Alekseiev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: