This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
* @param skip Skip to the end of the log file.
*/
@SuppressWarnings("LeakingThisInConstructor")
FetchLogPiped(GlassFishServer server, boolean skip) {
FetchLogPiped(final GlassFishServer server, boolean skip) {
super(server, skip);
try {
out = new PipedOutputStream((PipedInputStream)this.in);
FetchLogException.OUTPUT_STREAM_EXCEPTION, ioe);
}
taksExecute = true;
executor = Executors.newFixedThreadPool(1);
executor = new ThreadPoolExecutor(1, 1,
0L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>(), new ThreadFactory() {
@Override
public Thread newThread(Runnable r) {
Thread t = new Thread(FetchLogPiped.class.getName() + server.getUrl());
t.setDaemon(true);
return t;
});
task = executor.submit(this);