Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-864

Metadata.formatDate causes blocking in concurrent use

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • metadata
    • None

    Description

      Currently this is a synchronized method that uses a single instance of DateFormat. Instead it could use a pool of ThreadLocal DateFormat instances and avoid the sync blocking.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: