323196 fix some naming issues in code ported from jetty6
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2220 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
a3033e34f8
commit
7bafa0243c
|
@ -44,12 +44,12 @@ import org.eclipse.jetty.util.thread.Timeout.Task;
|
|||
public abstract class SelectorManager extends AbstractLifeCycle
|
||||
{
|
||||
// TODO Tune these by approx system speed.
|
||||
private static final int __JVMBUG_THRESHHOLD=Integer.getInteger("org.mortbay.io.nio.JVMBUG_THRESHHOLD",512).intValue();
|
||||
private static final int __MONITOR_PERIOD=Integer.getInteger("org.mortbay.io.nio.MONITOR_PERIOD",1000).intValue();
|
||||
private static final int __MAX_SELECTS=Integer.getInteger("org.mortbay.io.nio.MAX_SELECTS",25000).intValue();
|
||||
private static final int __BUSY_PAUSE=Integer.getInteger("org.mortbay.io.nio.BUSY_PAUSE",50).intValue();
|
||||
private static final int __BUSY_KEY=Integer.getInteger("org.mortbay.io.nio.BUSY_KEY",-1).intValue();
|
||||
private static final int __IDLE_TICK=Integer.getInteger("org.mortbay.io.nio.IDLE_TICK",400).intValue();
|
||||
private static final int __JVMBUG_THRESHHOLD=Integer.getInteger("org.eclipse.jetty.io.nio.JVMBUG_THRESHHOLD",512).intValue();
|
||||
private static final int __MONITOR_PERIOD=Integer.getInteger("org.eclipse.jetty.io.nio.MONITOR_PERIOD",1000).intValue();
|
||||
private static final int __MAX_SELECTS=Integer.getInteger("org.eclipse.jetty.io.nio.MAX_SELECTS",25000).intValue();
|
||||
private static final int __BUSY_PAUSE=Integer.getInteger("org.eclipse.jetty.io.nio.BUSY_PAUSE",50).intValue();
|
||||
private static final int __BUSY_KEY=Integer.getInteger("org.eclipse.jetty.io.nio.BUSY_KEY",-1).intValue();
|
||||
private static final int __IDLE_TICK=Integer.getInteger("org.eclipse.jetty.io.nio.IDLE_TICK",400).intValue();
|
||||
|
||||
private int _maxIdleTime;
|
||||
private int _lowResourcesMaxIdleTime;
|
||||
|
|
|
@ -56,7 +56,7 @@ public class DebugHandler extends HandlerWrapper
|
|||
|
||||
boolean suspend=false;
|
||||
boolean retry=false;
|
||||
String name=(String)request.getAttribute("org.mortbay.jetty.thread.name");
|
||||
String name=(String)request.getAttribute("org.eclipse.jetty.thread.name");
|
||||
if (name==null)
|
||||
name=old_name+":"+baseRequest.getScheme()+"://"+baseRequest.getLocalAddr()+":"+baseRequest.getLocalPort()+baseRequest.getUri();
|
||||
else
|
||||
|
@ -104,7 +104,7 @@ public class DebugHandler extends HandlerWrapper
|
|||
suspend=baseRequest.getAsyncContinuation().isSuspended();
|
||||
if (suspend)
|
||||
{
|
||||
request.setAttribute("org.mortbay.jetty.thread.name",name);
|
||||
request.setAttribute("org.eclipse.jetty.thread.name",name);
|
||||
_print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" SUSPEND");
|
||||
}
|
||||
else
|
||||
|
|
|
@ -30,7 +30,7 @@ public abstract class ConnectorTimeoutTest extends HttpServerTestFixture
|
|||
{
|
||||
static
|
||||
{
|
||||
System.setProperty("org.mortbay.io.nio.IDLE_TICK","100");
|
||||
System.setProperty("org.eclipse.jetty.io.nio.IDLE_TICK","100");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue