You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gossip.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2017/05/06 15:58:04 UTC

[jira] [Commented] (GOSSIP-84) Consistently use Clock or System for time.

    [ https://issues.apache.org/jira/browse/GOSSIP-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999475#comment-15999475 ] 

Edward Capriolo commented on GOSSIP-84:
---------------------------------------

[~RajkumarNatarajan] [~rajlcpsg] It looks like you have two Jira identities. Either way both are contributors and can now self assign things.

> Consistently use Clock or System for time.
> ------------------------------------------
>
>                 Key: GOSSIP-84
>                 URL: https://issues.apache.org/jira/browse/GOSSIP-84
>             Project: Gossip
>          Issue Type: Bug
>            Reporter: Gary Dusbabek
>            Assignee: RAJKUMAR NATARAJAN
>
> I see a number of cases where System.currentTimeMillis() or System.nanoTime() are used for getting ticks. But there is also a Clock instance that is clearly used in other cases.
> We should consistently use one or the other. My vote is for Clock.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)