ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Trivial Update of "FrontPage/Axis/AxisClientConfiguration/InterruptCalls" by RodrigoRuiz
Date Thu, 28 Feb 2008 13:33:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by RodrigoRuiz:
http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/InterruptCalls

------------------------------------------------------------------------------
  
  There are two workarounds for this issue:
  
-  * Use the new java.nio classes, and InterruptibleChannel in particular.
+  * Use the new java.nio classes, and {{{InterruptibleChannel}}} in particular.
   * Close the stream. This will force the blocking operation to be cancelled.
  
  Well, porting Axis 1.4 to Java NIO does not look like the way to go so, let's take a look
at the second option.
@@ -80, +80 @@

  }
  }}}
  
- As you can see, I am using Java 5 ConcurrentMap to handle thread-safety. If you need to
compile in Java 1.4, it can be replaced by a simple Hashtable.
+ As you can see, I am using Java 5 {{{ConcurrentMap}}} to handle thread-safety. If you need
to compile in Java 1.4, it can be replaced by a simple Hashtable.
  
  Now, to put this class to work we need to do two things: register it, and use it :-)
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message