[
https://issues.apache.org/jira/browse/HDDS-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashikant Banerjee resolved HDDS-3633.
---------------------------------------
Fix Version/s: 0.6.0
Resolution: Fixed
> Improve UniqueId.next() efficiency
> ----------------------------------
>
> Key: HDDS-3633
> URL: https://issues.apache.org/jira/browse/HDDS-3633
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Sammi Chen
> Assignee: Sammi Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.6.0
>
>
> Currently, UniqueId.next leverages
> Calendar.getInstance(UTC_ZONE).getTimeInMillis() to get a unique key.
> Calendar.getInstance(UTC_ZONE) will create an object every time which is not
> efficient. Use System.currentTimeMillis() will be more efficient.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]