commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <sco...@javactivity.org>
Subject Re: [io] org.apache.commons.io.ThreadMonitor.class ?
Date Fri, 30 Mar 2012 01:18:44 GMT
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 Schaible"<joerg.schaible@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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>


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


Mime
View raw message