public class FrameworkExecutorRepository extends Object implements Disposable
| 限定符和类型 | 字段和说明 |
|---|---|
Ring<ScheduledExecutorService> |
registryNotificationExecutorRing |
| 构造器和说明 |
|---|
FrameworkExecutorRepository() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
ScheduledExecutorService |
getCacheRefreshingScheduledExecutor()
Scheduler used to refresh file based caches from memory to disk.
|
ScheduledExecutorService |
getConnectivityScheduledExecutor()
Scheduled executor handle connectivity check task
|
ExecutorService |
getMappingRefreshingExecutor()
Executor used to run async mapping tasks
|
ScheduledExecutorService |
getMetadataRetryExecutor() |
ExecutorService |
getPoolRouterExecutor() |
ScheduledExecutorService |
getRegistryNotificationExecutor()
Scheduled executor handle registry notification.
|
ScheduledExecutorService |
getServiceDiscoveryAddressNotificationExecutor() |
ExecutorService |
getSharedExecutor()
Get the default shared thread pool.
|
ScheduledExecutorService |
getSharedScheduledExecutor()
Get the shared schedule executor
|
ExecutorService |
nextExecutorExecutor() |
ScheduledExecutorService |
nextScheduledExecutor()
Returns a scheduler from the scheduler list, call this method whenever you need a scheduler for a cron job.
|
public final Ring<ScheduledExecutorService> registryNotificationExecutorRing
public ScheduledExecutorService nextScheduledExecutor()
public ExecutorService nextExecutorExecutor()
public ScheduledExecutorService getRegistryNotificationExecutor()
public ScheduledExecutorService getServiceDiscoveryAddressNotificationExecutor()
public ScheduledExecutorService getMetadataRetryExecutor()
public ExecutorService getSharedExecutor()
public ScheduledExecutorService getSharedScheduledExecutor()
public ExecutorService getPoolRouterExecutor()
public ScheduledExecutorService getConnectivityScheduledExecutor()
public ScheduledExecutorService getCacheRefreshingScheduledExecutor()
public ExecutorService getMappingRefreshingExecutor()
public void destroy()
destroy 在接口中 DisposableCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.