Skip to content

java实现的线程池,可以在指定时间间隔内有只有一个任务执行,同时也可以设定在线程执行结束后释放的时间。

Notifications You must be signed in to change notification settings

woaitqs/SingleThreadPoolWithIntervalTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SingleThreadPoolWithIntervalTime

java实现的线程池,可以在指定时间间隔内有只有一个任务执行,同时也可以设定在线程执行结束后释放的时间。

This thread pool will keep only one runnable is running at given time interval. And if no task is to be executed and has been waiting for given aliveTimeMs time, execute worker will be released.

About

java实现的线程池,可以在指定时间间隔内有只有一个任务执行,同时也可以设定在线程执行结束后释放的时间。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages