is it possible my threads are not being killed when the server is killed
A quartz scheduler is being used in an Application I am working on. A process开发者_StackOverflow中文版 that runs using the quartz scheduler spawns new threads. I was wondering if it is possible for these threads to continue living after the server is killed?
That depends on whether the threads were told to be daemon threads or not (Quartz defaults to not). The JVM will only shutdown when all the remaining active threads are daemon threads.
精彩评论