Author: ron.sigal(a)jboss.com
Date: 2011-03-01 16:36:37 -0500 (Tue, 01 Mar 2011)
New Revision: 6273
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
Log:
JBREM-1275: Changed "dosMaxThreads" and "dosTimeout" to
"secondaryMaxThreads" and
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java 2011-03-01
21:35:03 UTC (rev 6272)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java 2011-03-01
21:36:37 UTC (rev 6273)
@@ -87,8 +87,8 @@
protected boolean isCallbackServer = false;
protected int secondaryBindPort = -1;
protected int secondaryConnectPort = -1;
- protected int dosMaxThreads = Bisocket.DOS_MAX_THREADS_DEFAULT;
- protected int dosTimeout = Bisocket.DOS_TIMEOUT_DEFAULT;
+ protected int dosMaxThreads = Bisocket.SECONDARY_MAX_THREADS_DEFAULT;
+ protected int dosTimeout = Bisocket.SECONDARY_TIMEOUT_DEFAULT;
public static BisocketServerInvoker getBisocketServerInvoker(String listenerId)
@@ -537,7 +537,7 @@
log.warn("\"" + Bisocket.SECONDARY_CONNECT_PORT + "\"
must be specified as a String");
}
- o = configuration.get(Bisocket.DOS_MAX_THREADS);
+ o = configuration.get(Bisocket.SECONDARY_MAX_THREADS);
if (o instanceof String && ((String) o).length() > 0)
{
try
@@ -547,15 +547,15 @@
}
catch (NumberFormatException e)
{
- log.warn("Invalid format for " + "\"" +
Bisocket.DOS_MAX_THREADS + "\": " + o);
+ log.warn("Invalid format for " + "\"" +
Bisocket.SECONDARY_MAX_THREADS + "\": " + o);
}
}
else if (o != null)
{
- log.warn("\"" + Bisocket.DOS_MAX_THREADS + "\" must be
specified as a String");
+ log.warn("\"" + Bisocket.SECONDARY_MAX_THREADS + "\"
must be specified as a String");
}
- o = configuration.get(Bisocket.DOS_TIMEOUT);
+ o = configuration.get(Bisocket.SECONDARY_TIMEOUT);
if (o instanceof String && ((String) o).length() > 0)
{
try
@@ -565,12 +565,12 @@
}
catch (NumberFormatException e)
{
- log.warn("Invalid format for " + "\"" +
Bisocket.DOS_TIMEOUT + "\": " + o);
+ log.warn("Invalid format for " + "\"" +
Bisocket.SECONDARY_TIMEOUT + "\": " + o);
}
}
else if (o != null)
{
- log.warn("\"" + Bisocket.DOS_TIMEOUT + "\" must be
specified as a String");
+ log.warn("\"" + Bisocket.SECONDARY_TIMEOUT + "\" must
be specified as a String");
}
if (isCallbackServer)
Show replies by date