Fixed server not shutting down when using shutdown admin command; Added ShutdownService

This commit is contained in:
Obique
2015-05-16 03:14:39 -05:00
committed by Obique
parent 2f74bd0028
commit 2ef55fdc70
6 changed files with 145 additions and 35 deletions
+13
View File
@@ -0,0 +1,13 @@
package utilities;
import java.util.concurrent.ThreadFactory;
import org.python.google.common.util.concurrent.ThreadFactoryBuilder;
public class ThreadUtilities {
public static ThreadFactory newThreadFactory(String pattern) {
return new ThreadFactoryBuilder().setNameFormat(pattern).build();
}
}