@Overridepublic void run() {lock.lock();try {// System.out.println(Thread.currentThread().getName());System.out.println("sleep时间:" + sleepTime);Thread.sleep(sleepTime);} catch (InterruptedException e) {e.printStackTrace();} finally {lock.unlock();latch3Thread.countDown();}}}public static void main(String[] args) throws InterruptedException {ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(3, 6, 0, TimeUnit.SECONDS, new ArrayBlockingQueue