public class Schedules extends Object
| 构造器和说明 |
|---|
Schedules() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ScheduledExecutorService |
create(int core) |
static ScheduledExecutorService |
create(int core,
String threadNamePrefix) |
static ScheduledExecutorService |
create(int core,
String threadNamePrefix,
boolean isDaemon) |
static ScheduledExecutorService |
create(int core,
ThreadFactory threadFactory) |
static ScheduledExecutorService |
create(WrappingTaskFactory wrappingTaskFactory,
int core) |
static ScheduledExecutorService |
create(WrappingTaskFactory wrappingTaskFactory,
int core,
String threadNamePrefix,
boolean isDaemon) |
static ScheduledExecutorService |
create(WrappingTaskFactory wrappingTaskFactory,
int core,
ThreadFactory threadFactory) |
static void |
shutdown(ScheduledExecutorService pool) |
static void |
shutdown(ScheduledExecutorService pool,
int timeoutSeconds) |
static ScheduledExecutorService |
single() |
static ScheduledExecutorService |
single(WrappingTaskFactory wrappingTaskFactory) |
public static ScheduledExecutorService single()
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 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.