RE: Reg System.currentTimeMillis usage in BookKeeper

2012-07-05 Thread Mridul Muralidharan
05, 2012 8:15 PM > To: bookkeeper-dev@zookeeper.apache.org > Subject: Re: Reg System.currentTimeMillis usage in BookKeeper > > > I agree it is not good to change the system time on a running > process, > > still I'm thinking we can use System.nanoTime(), this will be gi

RE: Reg System.currentTimeMillis usage in BookKeeper

2012-07-05 Thread Uma Maheswara Rao G
@zookeeper.apache.org Subject: Re: Reg System.currentTimeMillis usage in BookKeeper > I agree it is not good to change the system time on a running > process, still I'm thinking we can use System.nanoTime(), this will > be giving the JVM startup time and will helpful to withstand this > kind of m

Re: Reg System.currentTimeMillis usage in BookKeeper

2012-07-05 Thread Ivan Kelly
> I agree it is not good to change the system time on a running > process, still I'm thinking we can use System.nanoTime(), this will > be giving the JVM startup time and will helpful to withstand this > kind of minor accidents(as this came in the stat calculation > logic). Good idea. Could you o