[
https://issues.apache.org/jira/browse/CURATOR-514?focusedWorklogId=772665&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-772665
]
ASF GitHub Bot logged work on CURATOR-514:
------------------------------------------
Author: ASF GitHub Bot
Created on: 20/May/22 03:53
Start Date: 20/May/22 03:53
Worklog Time Spent: 10m
Work Description: tisonkun commented on PR #307:
URL: https://github.com/apache/curator/pull/307#issuecomment-1132430278
Thanks for your contribution @belugabehr!
Issue Time Tracking
-------------------
Worklog Id: (was: 772665)
Time Spent: 0.5h (was: 20m)
> 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: 0.5h
> 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
(v8.20.7#820007)