Author: ron.sigal(a)jboss.com
Date: 2012-07-17 14:21:38 -0400 (Tue, 17 Jul 2012)
New Revision: 6450
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-1305: Moved log call in getConnection().
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2012-07-17
18:20:45 UTC (rev 6449)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2012-07-17
18:21:38 UTC (rev 6450)
@@ -884,12 +884,12 @@
long start = System.currentTimeMillis();
long timeToWait = (timeAllowed > 0) ? timeAllowed : 30000;
boolean timedout = !semaphore.attempt(timeToWait);
- if (trace) log.trace(this + " obtained semaphore: " +
semaphore.permits());
if (timedout)
{
throw new IllegalStateException("Timeout waiting for a free socket");
}
+ if (trace) log.trace(this + " obtained semaphore: " +
semaphore.permits());
SocketWrapper pooled = null;
Show replies by date