mlohbihler / sero-scheduler

A ScheduledExecutorService backed by a CachedThreadPool such that it automatically creates new threads as needed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sero-scheduler

A ScheduledExecutorService backed by a CachedThreadPool such that it automatically creates new threads as needed. Use as you would a ScheduledThreadPoolExecutor, except for two things:

  1. Instead of using Executors to create, instantiate with new ScheduledExecutorServiceVariablePool()
  2. schedule(Callable<V>, long, TimeUnit) is currently not supported. Actually, no, this is now supported. :)

About

A ScheduledExecutorService backed by a CachedThreadPool such that it automatically creates new threads as needed.

License:MIT License


Languages

Language:Java 100.0%