fix javadoc
Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
parent
7004aaa538
commit
8dffd7e476
|
@ -46,6 +46,7 @@ public class AtomicBiInteger extends AtomicLong
|
|||
* Atomically set the hi integer value without changing
|
||||
* the lo value.
|
||||
* @param hi the new hi value
|
||||
* @return the hi int value
|
||||
*/
|
||||
public int setHi(int hi)
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
package org.eclipse.jetty.util;
|
||||
|
||||
/**
|
||||
* ProcessorUtils return the default value for processor number fron {@link Runtime#getRuntime()#availableProcessors()}
|
||||
* ProcessorUtils return the default value for processor number from {@link Runtime}
|
||||
* but in a virtual environment you can override it using env var <code>JETTY_AVAILABLE_PROCESSORS</code>
|
||||
*/
|
||||
public class ProcessorUtils
|
||||
|
@ -42,6 +42,10 @@ public class ProcessorUtils
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the number of processors
|
||||
*/
|
||||
public static int availableProcessors()
|
||||
{
|
||||
return AVAILABLE_PROCESSORS;
|
||||
|
|
Loading…
Reference in New Issue