/** * By default, when the transfer manager is shut down, the underlying {@link ExecutorService} is * also shut down. For cases where the same thread pool is reused across different workloads you * can set this option to false to disable that behavior. * * @param shutDownThreadPools True to shut down thread pools on transfer manager shutdown, false * otherwise. * @return This object for method chaining. */ public final TransferManagerBuilder withShutDownThreadPools(Boolean shutDownThreadPools) { setShutDownThreadPools(shutDownThreadPools); return this; }
/** * By default, when the transfer manager is shut down, the underlying {@link ExecutorService} is * also shut down. For cases where the same thread pool is reused across different workloads you * can set this option to false to disable that behavior. * * @param shutDownThreadPools True to shut down thread pools on transfer manager shutdown, false * otherwise. * @return This object for method chaining. */ public final TransferManagerBuilder withShutDownThreadPools(Boolean shutDownThreadPools) { setShutDownThreadPools(shutDownThreadPools); return this; }