tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TIKA-864) Metadata.formatDate causes blocking in concurrent use
Date Fri, 17 Feb 2012 15:11:59 GMT

     [ https://issues.apache.org/jira/browse/TIKA-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jukka Zitting resolved TIKA-864.

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Jukka Zitting

bq. perhaps the best solution here is
just to add a bit of custom code that formats the requested string directly

Done in revision 1245600.
> Metadata.formatDate causes blocking in concurrent use
> -----------------------------------------------------
>                 Key: TIKA-864
>                 URL: https://issues.apache.org/jira/browse/TIKA-864
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>            Reporter: Andrzej Bialecki 
>            Assignee: Jukka Zitting
>             Fix For: 1.1
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message