[
https://issues.apache.org/jira/browse/CURATOR-514?focusedWorklogId=217419&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217419
]
ASF GitHub Bot logged work on CURATOR-514:
------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Mar/19 20:02
Start Date: 22/Mar/19 20:02
Worklog Time Spent: 10m
Work Description: BELUGABEHR commented on pull request #307: CURATOR-514:
Utilize ThreadLocalRandom In QueueSharder
URL: https://github.com/apache/curator/pull/307
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 217419)
Time Spent: 10m
Remaining Estimate: 0h
> Utilize ThreadLocalRandom In QueueSharder
> -----------------------------------------
>
> Key: CURATOR-514
> URL: https://issues.apache.org/jira/browse/CURATOR-514
> Project: Apache Curator
> Issue Type: Improvement
> Components: Recipes
> Affects Versions: 4.2.0
> Reporter: David Mollitor
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> bq. When applicable, use of ThreadLocalRandom rather than shared Random
> objects in concurrent programs will typically encounter much less overhead
> and contention.
> https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadLocalRandom.html
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)