You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Guy Itzhaki <gi...@nextnine.com> on 2010/08/26 14:16:24 UTC

session.getCreationTime - milli vs nano

Dear mina team and users,

 

According to the session.getCreationTime() java doc the method returns
the session's creation time in nanoseconds, however I dig in and found
out that the creation time is actually in milli (which is great as I can
create Date using milli and not using nano)

 

Can you approve that the actual implementation (returning milli) is the
correct one?

(In this case I would recommend you update the java doc accordingly)

 

Thank you very much,

Guy


RE: session.getCreationTime - milli vs nano

Posted by Guy Itzhaki <gi...@nextnine.com>.
Thanks I will

-----Original Message-----
From: Ashish [mailto:paliwalashish@gmail.com] 
Sent: Thursday, August 26, 2010 4:06 PM
To: users@mina.apache.org
Subject: Re: session.getCreationTime - milli vs nano

check RC1 release.. the docs are updated :)

On Thu, Aug 26, 2010 at 6:33 PM, Guy Itzhaki <gi...@nextnine.com> wrote:
> I am using mina 2.0 M6
>
> -----Original Message-----
> From: Ashish [mailto:paliwalashish@gmail.com]
> Sent: Thursday, August 26, 2010 3:46 PM
> To: users@mina.apache.org
> Subject: Re: session.getCreationTime - milli vs nano
>
> I don't see it as nanoseconds. Which version are u using?
>
> Here is the function signature from trunk
>
>  /**
>     * @return the session's creation time in milliseconds
>     */
>    long getCreationTime();
>
> The javadoc on http://mina.apache.org/report/trunk/apidocs/ also shows
> as millis
>
> HTH
> ashish
>
> On Thu, Aug 26, 2010 at 5:46 PM, Guy Itzhaki <gi...@nextnine.com>
> wrote:
>> Dear mina team and users,
>>
>>
>>
>> According to the session.getCreationTime() java doc the method returns
>> the session's creation time in nanoseconds, however I dig in and found
>> out that the creation time is actually in milli (which is great as I
> can
>> create Date using milli and not using nano)
>>
>>
>>
>> Can you approve that the actual implementation (returning milli) is
> the
>> correct one?
>>
>> (In this case I would recommend you update the java doc accordingly)
>>
>>
>>
>> Thank you very much,
>>
>> Guy
>
>
> Click here to report this message as SPAM:
> http://vsp.ateranetworks.com/ReportSpam.php?sid=8cc4be173c25af2f59e22bb7
> 045f08b4_d4dabbd59d8fbe68412183003ef57c36
> -- Powered by ATERA Networks --
>
>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal



Re: session.getCreationTime - milli vs nano

Posted by Ashish <pa...@gmail.com>.
check RC1 release.. the docs are updated :)

On Thu, Aug 26, 2010 at 6:33 PM, Guy Itzhaki <gi...@nextnine.com> wrote:
> I am using mina 2.0 M6
>
> -----Original Message-----
> From: Ashish [mailto:paliwalashish@gmail.com]
> Sent: Thursday, August 26, 2010 3:46 PM
> To: users@mina.apache.org
> Subject: Re: session.getCreationTime - milli vs nano
>
> I don't see it as nanoseconds. Which version are u using?
>
> Here is the function signature from trunk
>
>  /**
>     * @return the session's creation time in milliseconds
>     */
>    long getCreationTime();
>
> The javadoc on http://mina.apache.org/report/trunk/apidocs/ also shows
> as millis
>
> HTH
> ashish
>
> On Thu, Aug 26, 2010 at 5:46 PM, Guy Itzhaki <gi...@nextnine.com>
> wrote:
>> Dear mina team and users,
>>
>>
>>
>> According to the session.getCreationTime() java doc the method returns
>> the session's creation time in nanoseconds, however I dig in and found
>> out that the creation time is actually in milli (which is great as I
> can
>> create Date using milli and not using nano)
>>
>>
>>
>> Can you approve that the actual implementation (returning milli) is
> the
>> correct one?
>>
>> (In this case I would recommend you update the java doc accordingly)
>>
>>
>>
>> Thank you very much,
>>
>> Guy
>
>
> Click here to report this message as SPAM:
> http://vsp.ateranetworks.com/ReportSpam.php?sid=8cc4be173c25af2f59e22bb7
> 045f08b4_d4dabbd59d8fbe68412183003ef57c36
> -- Powered by ATERA Networks --
>
>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

RE: session.getCreationTime - milli vs nano

Posted by Guy Itzhaki <gi...@nextnine.com>.
I am using mina 2.0 M6

-----Original Message-----
From: Ashish [mailto:paliwalashish@gmail.com] 
Sent: Thursday, August 26, 2010 3:46 PM
To: users@mina.apache.org
Subject: Re: session.getCreationTime - milli vs nano

I don't see it as nanoseconds. Which version are u using?

Here is the function signature from trunk

 /**
     * @return the session's creation time in milliseconds
     */
    long getCreationTime();

The javadoc on http://mina.apache.org/report/trunk/apidocs/ also shows
as millis

HTH
ashish

On Thu, Aug 26, 2010 at 5:46 PM, Guy Itzhaki <gi...@nextnine.com>
wrote:
> Dear mina team and users,
>
>
>
> According to the session.getCreationTime() java doc the method returns
> the session's creation time in nanoseconds, however I dig in and found
> out that the creation time is actually in milli (which is great as I
can
> create Date using milli and not using nano)
>
>
>
> Can you approve that the actual implementation (returning milli) is
the
> correct one?
>
> (In this case I would recommend you update the java doc accordingly)
>
>
>
> Thank you very much,
>
> Guy


Click here to report this message as SPAM:
http://vsp.ateranetworks.com/ReportSpam.php?sid=8cc4be173c25af2f59e22bb7
045f08b4_d4dabbd59d8fbe68412183003ef57c36
-- Powered by ATERA Networks --



Re: session.getCreationTime - milli vs nano

Posted by Ashish <pa...@gmail.com>.
I don't see it as nanoseconds. Which version are u using?

Here is the function signature from trunk

 /**
     * @return the session's creation time in milliseconds
     */
    long getCreationTime();

The javadoc on http://mina.apache.org/report/trunk/apidocs/ also shows as millis

HTH
ashish

On Thu, Aug 26, 2010 at 5:46 PM, Guy Itzhaki <gi...@nextnine.com> wrote:
> Dear mina team and users,
>
>
>
> According to the session.getCreationTime() java doc the method returns
> the session's creation time in nanoseconds, however I dig in and found
> out that the creation time is actually in milli (which is great as I can
> create Date using milli and not using nano)
>
>
>
> Can you approve that the actual implementation (returning milli) is the
> correct one?
>
> (In this case I would recommend you update the java doc accordingly)
>
>
>
> Thank you very much,
>
> Guy