public void shutdown() { bossPool.shutdown(); workerPool.shutdown(); if (releasePools) { releasePools(); } }
public void releaseExternalResources() { bossPool.shutdown(); workerPool.shutdown(); releasePools(); }