hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11822) Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime
Date Sat, 30 Aug 2014 02:05:52 GMT

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

Andrew Purtell commented on HBASE-11822:
----------------------------------------

Now that this change is done you might want to make another pass at converting uses of System#currentTimeMillis
to EnvironmentEdge#currentTime. I was fixing up around the application of this change and
noticed places in TestHRegion for one.

> Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime
> --------------------------------------------------------------
>
>                 Key: HBASE-11822
>                 URL: https://issues.apache.org/jira/browse/HBASE-11822
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.99.0, 2.0.0
>
>         Attachments: 11822.txt, 11822v2.txt, 11822v2.txt, 11822v2.txt
>
>
> Currently, environmentedge returns time in 'millis'. The parent issue is about being
able to return something else for time.  In fact we already have an incrementing ee which
is returning 'time' but not in 'millis' and ditto for our manual ee... so the method name
is a little limiting even in our current code.
> This is first step on way to changing our ts (left-shifting it or whatever we decide).
> EnvironmentEdge is private audience.
> Trying to do this for 1.0.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message