i want to monitor several log files concurrently 开发者_如何学Go.How to do in java ?
Hard to understand what you want to do, so I will guess :)
Use the Apache Commons IO class named Tailer to tail the files that you want to keep track of. (If reading from them is what you want to do). The javadoc for the class has examples of how to use it with threads.
精彩评论