20230713 java.util.concurrent.ScheduledExecutorService

介绍

  • java.util.concurrent.ScheduledExecutorService
  • public interface ScheduledExecutorService extends ExecutorService

API

  • schedule
    • public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    • public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit);
  • scheduleAtFixedRate
  • scheduleWithFixedDelay
posted @ 2023-08-22 17:39  流星<。)#)))≦  阅读(22)  评论(0编辑  收藏  举报