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