You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/11/26 20:51:43 UTC

[jira] Created: (WSCOMMONS-284) Perf: Speedup file creation of PartOnFile

Perf: Speedup file creation of PartOnFile
-----------------------------------------

                 Key: WSCOMMONS-284
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-284
             Project: WS-Commons
          Issue Type: Improvement
            Reporter: Rich Scheuerle
            Assignee: Nikhil Thaker


The following code in PartOnFile creates a temporary file:

cacheFile = File.createTempFile("Axis2", ".att", repoDirFile);

This call can cause resource contention to to the use of the Random function.  Please investigate another solution (perhaps using the the UUIDGenerator code).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-284) Perf: Speedup file creation of PartOnFile

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Thaker resolved WSCOMMONS-284.
-------------------------------------

    Resolution: Fixed

Patch applied with Revision #610839.

> Perf: Speedup file creation of PartOnFile
> -----------------------------------------
>
>                 Key: WSCOMMONS-284
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-284
>             Project: WS-Commons
>          Issue Type: Improvement
>            Reporter: Rich Scheuerle
>            Assignee: Nikhil Thaker
>         Attachments: patch.txt
>
>
> The following code in PartOnFile creates a temporary file:
> cacheFile = File.createTempFile("Axis2", ".att", repoDirFile);
> This call can cause resource contention to to the use of the Random function.  Please investigate another solution (perhaps using the the UUIDGenerator code).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Closed: (WSCOMMONS-284) Perf: Speedup file creation of PartOnFile

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Thaker closed WSCOMMONS-284.
-----------------------------------


> Perf: Speedup file creation of PartOnFile
> -----------------------------------------
>
>                 Key: WSCOMMONS-284
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-284
>             Project: WS-Commons
>          Issue Type: Improvement
>            Reporter: Rich Scheuerle
>            Assignee: Nikhil Thaker
>         Attachments: patch.txt
>
>
> The following code in PartOnFile creates a temporary file:
> cacheFile = File.createTempFile("Axis2", ".att", repoDirFile);
> This call can cause resource contention to to the use of the Random function.  Please investigate another solution (perhaps using the the UUIDGenerator code).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-284) Perf: Speedup file creation of PartOnFile

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Thaker updated WSCOMMONS-284:
------------------------------------

    Attachment: patch.txt

> Perf: Speedup file creation of PartOnFile
> -----------------------------------------
>
>                 Key: WSCOMMONS-284
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-284
>             Project: WS-Commons
>          Issue Type: Improvement
>            Reporter: Rich Scheuerle
>            Assignee: Nikhil Thaker
>         Attachments: patch.txt
>
>
> The following code in PartOnFile creates a temporary file:
> cacheFile = File.createTempFile("Axis2", ".att", repoDirFile);
> This call can cause resource contention to to the use of the Random function.  Please investigate another solution (perhaps using the the UUIDGenerator code).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org