示例#1
0
 public void shutdown(long time, TimeUnit unit) {
   parent.shutdown(time, unit);
   producer.shutdown();
 }
示例#2
0
 private void shutdown() {
   for (PooledFatPipe child : children) {
     child.shutdown(0, TimeUnit.MILLISECONDS);
   }
   executor.shutdown();
 }