[
https://issues.apache.org/jira/browse/FLUME-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463414#comment-13463414
]
Hari Shreedharan commented on FLUME-1611:
-----------------------------------------
A more authoritarian source:
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html ;)
"Instances of this class are immutable and are safe for use by multiple
concurrent threads. Instances of the Matcher class are not safe for such use."
(We create a matcher each time).
> LogUtils regex can be precompiled
> ---------------------------------
>
> Key: FLUME-1611
> URL: https://issues.apache.org/jira/browse/FLUME-1611
> Project: Flume
> Issue Type: Bug
> Components: Channel
> Affects Versions: v1.3.0
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Fix For: v1.3.0
>
> Attachments: FLUME-1611.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira