摘要:
获取当前进程的pid import java.lang.management.ManagementFactory; import java.lang.management.RuntimeMXBean; public static final int getProcessID() { try { Ru 阅读全文
摘要:
1.@Service修饰类名,同时类继承Thread类 @Service public class MasterSchedulerService extends Thread { /** * logger of MasterSchedulerService */ private static fin 阅读全文