You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Adam Brown <ac...@gmail.com> on 2009/09/01 00:30:13 UTC
IoSession.getCreationTime() in milliseconds instead of nanoseconds
Unless I'm missing something, despite what the Javadoc for 2.0-M6
says, AbstractIoSession.getCreationTime() returns the creation time in
milliseconds, not nanoseconds. Is the plan to switch from millis to
nanos, or is the Javadoc wrong?
-adam
Re: IoSession.getCreationTime() in milliseconds instead of nanoseconds
Posted by Emmanuel Lecharny <el...@apache.org>.
Adam Brown wrote:
> Unless I'm missing something, despite what the Javadoc for 2.0-M6
> says, AbstractIoSession.getCreationTime() returns the creation time in
> milliseconds, not nanoseconds. Is the plan to switch from millis to
> nanos, or is the Javadoc wrong?
>
> -adam
>
>
The javadoc was incorrect. It is fixed now, thanks to your report.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
Re: IoSession.getCreationTime() in milliseconds instead of nanoseconds
Posted by Emmanuel Lecharny <el...@apache.org>.
Adam Brown wrote:
> Unless I'm missing something, despite what the Javadoc for 2.0-M6
> says, AbstractIoSession.getCreationTime() returns the creation time in
> milliseconds, not nanoseconds. Is the plan to switch from millis to
> nanos, or is the Javadoc wrong?
>
> -adam
>
>
Th eJavadoc is wrong. It's fixed now.
We can't provide nanoseconds in Java, at least it's not reliable.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org