[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1000 InputStream's



At last this type of useful and scalable I/O strategies are in the new 
NIO package
of jdk1.4.   OReilly has come out with a new NIO book too.   I've come 
across
a few tutorials here and there that give the very high levels of what 
you want to do.

Good luck, curt

cfowler wrote:

>I would like to monitor from 1 .. N InputStreams.  In C I would use a
>select() that will allow me to do this within 1 Thread.  Is it possible
>in Java to do something similar.  I do not want to spawn 1000 Threads
>for the 1000 InputStreams unless that is the only solution.  
>
>  
>

-- 

Curt Smith
chsmith@speakeasy.net
(h) 404-294-6686
(w) 404-463-0973