commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [LANG] support for k, M suffices when parsing numbers
Date Thu, 02 Jun 2011 13:55:19 GMT
On 2 June 2011 14:50, James Carman <james@carmanconsulting.com> wrote:
> What do they want?  A method that returns the number of bytes?  So, I
> suppose they would be multiplying by 1024 as opposed to 1000?  So, 1k
> = 1024 bytes.

They specifically wanted Tomcat to support the suffices k and m that
can be used when providing memory sizes to the Java -Xmx etc options.

So yes, I guess the multiplier is 1024 here.

> On Thu, Jun 2, 2011 at 9:47 AM, sebb <sebbaz@gmail.com> wrote:
>> A mail on the Tomcat user list asked why Tomcat does not support
>> shorthand suffices such as k & m when providing memory sizes, as is
>> done by the the Java -Xms etc options.
>>
>> Seems to me this might be a useful addition to Lang?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message