You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/22 20:03:00 UTC
[jira] [Work logged] (CURATOR-514) Utilize ThreadLocalRandom In
QueueSharder
[ 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:
users@infra.apache.org
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)