package com.gxx.threads.study.test22; /** * 方法处理器 * @author Gxx */ public class MethodProcess extends MethodProcessParent { /** * 处理 */ public void process(){ System.out.println("[" + Thread.currentThread().getName() + "]进入process~"); try { Thread.sleep(2000); } catch (InterruptedException e) { e.printStackTrace(); } System.out.println("[" + Thread.currentThread().getName() + "]process结束"); } }