/** * Constructs a new Timer that directly executes tasks off of a single-thread thread pool. * @param name */ public EnhancedTimer(final String name) { this.taskExecutor = ExecutorUtils.getDirectExecutor(); this.bossExecutor = ExecutorUtils.newFixedThreadPool(1, name); }
/** * Constructs a new Timer that directly executes tasks off of a single-thread thread pool. * @param name */ public EnhancedTimer(final String name) { this.taskExecutor = ExecutorUtils.getDirectExecutor(); this.bossExecutor = ExecutorUtils.newFixedThreadPool(1, name); }