public class Schedules extends Object
| 构造器和说明 |
|---|
Schedules() |
public static ScheduledExecutorService single()
public static ScheduledExecutorService defaults()
public static ScheduledExecutorService create(int core)
public static ScheduledExecutorService create(int core, String threadNamePrefix)
public static ScheduledExecutorService create(int core, String threadNamePrefix, boolean isDaemon)
public static ScheduledExecutorService create(int core, ThreadFactory threadFactory)
public static ScheduledExecutorService single(WrappingTaskFactory wrappingTaskFactory)
public static ScheduledExecutorService defaults(WrappingTaskFactory wrappingTaskFactory)
public static ScheduledExecutorService create(WrappingTaskFactory wrappingTaskFactory, int core)
public static ScheduledExecutorService create(WrappingTaskFactory wrappingTaskFactory, int core, String threadNamePrefix, boolean isDaemon)
public static ScheduledExecutorService create(WrappingTaskFactory wrappingTaskFactory, int core, ThreadFactory threadFactory)
public static void shutdown(ScheduledExecutorService pool)
public static void shutdown(ScheduledExecutorService pool, int timeoutSeconds)
Copyright © 2025 fossc. All rights reserved.