Code example for ScheduledThreadPoolExecutor

Methods: setKeepAliveTime, setMaximumPoolSize