@Override
    public void run() {
        boolean stop = false;
        while (!stop) {
            System.out.println("My Thread is running......");
            long time = System.currentTimeMillis();
            while ((System.currentTimeMillis() - time) < 1000) {

            }
            if (Thread.currentThread().isInterrupted()) {//判断当前线程是否中断
                break;
            }
//            try {
//                Thread.sleep(500);
//            } catch (InterruptedException e) {
//                System.out.println(e);
////                e.printStackTrace();
//                break;
//            }
        }
        System.out.println("My Thread existing under request.....");
    }