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