You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/28 14:33:43 UTC
[Ws Wiki] Trivial Update of
"FrontPage/Axis/AxisClientConfiguration/InterruptCalls" by RodrigoRuiz
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