OnJava8-Examples/com/mindviewinc/util/DaemonThreadPoolExecutor.java

14 lines
389 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// com/mindviewinc/util/DaemonThreadPoolExecutor.java
2015-06-15 17:47:35 -07:00
// <20>2015 MindView LLC: see Copyright.txt
package com.mindviewinc.util;
import java.util.concurrent.*;
public class DaemonThreadPoolExecutor
extends ThreadPoolExecutor {
public DaemonThreadPoolExecutor() {
super(0, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS,
new SynchronousQueue<>(),
new DaemonThreadFactory());
}
2015-09-07 11:44:36 -06:00
}