Re: [io] org.apache.commons.io.ThreadMonitor.class ?

2012-03-29 Thread Steve Cohen

What are the pros and cons of this as compared to JDK 6+ ExecutorService?

On 03/28/2012 07:21 PM, James Carman wrote:

Since it's Apache licensed, feel free to copy it for your needs, though. :)
On Mar 28, 2012 6:45 PM, Jörg Schaiblejoerg.schai...@gmx.de  wrote:


Hi Steve,

Steve Cohen wrote:


Someone has suggested that our team look at the Apache Thread Monitor
as a way of timing out some classes that don't natively support timeouts.

In investigating this using the Google, I find references such as this:




http://commons.apache.org/io/cobertura/org.apache.commons.io.ThreadMonitor.html


and this:



http://commons.apache.org/io/xref/org/apache/commons/io/ThreadMonitor.html


Yet when I look at the official Commons IO Javadoc
(http://commons.apache.org/io/api-release/index.html), this class does
not appear to exist.  Nor can I find it in any of the older official
javadocs?

Can someone explain this discrepancy and where I might find this class?

Is this old code that was abandoned for some (probably good) reason?  Is
something else recommended instead?


It's internal, uses package scope, can therefore not be used from outside
of
the package and does in consequence not appear in the official API.

- Jörg


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org







-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[io] org.apache.commons.io.ThreadMonitor.class ?

2012-03-28 Thread Steve Cohen
Someone has suggested that our team look at the Apache Thread Monitor 
as a way of timing out some classes that don't natively support timeouts.


In investigating this using the Google, I find references such as this:

http://commons.apache.org/io/cobertura/org.apache.commons.io.ThreadMonitor.html

and this:

http://commons.apache.org/io/xref/org/apache/commons/io/ThreadMonitor.html

Yet when I look at the official Commons IO Javadoc 
(http://commons.apache.org/io/api-release/index.html), this class does 
not appear to exist.  Nor can I find it in any of the older official 
javadocs?


Can someone explain this discrepancy and where I might find this class?

Is this old code that was abandoned for some (probably good) reason?  Is 
something else recommended instead?


Thanks.

Steve Cohen

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [io] org.apache.commons.io.ThreadMonitor.class ?

2012-03-28 Thread Jörg Schaible
Hi Steve,

Steve Cohen wrote:

 Someone has suggested that our team look at the Apache Thread Monitor
 as a way of timing out some classes that don't natively support timeouts.
 
 In investigating this using the Google, I find references such as this:
 
 
http://commons.apache.org/io/cobertura/org.apache.commons.io.ThreadMonitor.html
 
 and this:
 
 http://commons.apache.org/io/xref/org/apache/commons/io/ThreadMonitor.html
 
 Yet when I look at the official Commons IO Javadoc
 (http://commons.apache.org/io/api-release/index.html), this class does
 not appear to exist.  Nor can I find it in any of the older official
 javadocs?
 
 Can someone explain this discrepancy and where I might find this class?
 
 Is this old code that was abandoned for some (probably good) reason?  Is
 something else recommended instead?

It's internal, uses package scope, can therefore not be used from outside of  
the package and does in consequence not appear in the official API.

- Jörg


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [io] org.apache.commons.io.ThreadMonitor.class ?

2012-03-28 Thread James Carman
Since it's Apache licensed, feel free to copy it for your needs, though. :)
On Mar 28, 2012 6:45 PM, Jörg Schaible joerg.schai...@gmx.de wrote:

 Hi Steve,

 Steve Cohen wrote:

  Someone has suggested that our team look at the Apache Thread Monitor
  as a way of timing out some classes that don't natively support timeouts.
 
  In investigating this using the Google, I find references such as this:
 
 

 http://commons.apache.org/io/cobertura/org.apache.commons.io.ThreadMonitor.html
 
  and this:
 
 
 http://commons.apache.org/io/xref/org/apache/commons/io/ThreadMonitor.html
 
  Yet when I look at the official Commons IO Javadoc
  (http://commons.apache.org/io/api-release/index.html), this class does
  not appear to exist.  Nor can I find it in any of the older official
  javadocs?
 
  Can someone explain this discrepancy and where I might find this class?
 
  Is this old code that was abandoned for some (probably good) reason?  Is
  something else recommended instead?

 It's internal, uses package scope, can therefore not be used from outside
 of
 the package and does in consequence not appear in the official API.

 - Jörg


 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org