Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3790

Add creationTimeMillis as bean property to replace internal birthDate local variable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.0.0.Final
    • 6.0.1.Final
    • Transaction Core
    • None

    Description

      Birthdate is written/read to/from ObjectStore files without being available via API. Actually, it is only used for trace logging. I would suggest to:

      1. Add creationTimeMillis as long property in StateManager class
      2. Initialize with System.currentTimeMillis() on bean creation
      3. Make creationTimeMillis available via getter method

      Such an enhancement would make it possible to evaluate the "real" age of open transactions to e.g. improve ExpiryScanners.

      Attachments

        Activity

          People

            Unassigned Unassigned
            graben1181 Benjamin Graf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: