Class FrameworkExecutorRepository
java.lang.Object
org.apache.dubbo.common.threadpool.manager.FrameworkExecutorRepository
- All Implemented Interfaces:
Disposable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Scheduler used to refresh file based caches from memory to disk.Scheduled executor handle connectivity check taskExecutor used to run async mapping tasksScheduled executor handle registry notification.Get the default shared thread pool.Get the shared schedule executorReturns a scheduler from the scheduler list, call this method whenever you need a scheduler for a cron job.
-
Field Details
-
registryNotificationExecutorRing
-
-
Constructor Details
-
FrameworkExecutorRepository
public FrameworkExecutorRepository()
-
-
Method Details
-
nextScheduledExecutor
Returns a scheduler from the scheduler list, call this method whenever you need a scheduler for a cron job. If your cron cannot burden the possible schedule delay caused by sharing the same scheduler, please consider define a dedicated one.- Returns:
- ScheduledExecutorService
-
nextExecutorExecutor
-
getRegistryNotificationExecutor
Scheduled executor handle registry notification.- Returns:
- ScheduledExecutorService
-
getServiceDiscoveryAddressNotificationExecutor
-
getMetadataRetryExecutor
-
getInternalServiceExecutor
-
getPoolRouterExecutor
-
getConnectivityScheduledExecutor
Scheduled executor handle connectivity check task- Returns:
- ScheduledExecutorService
-
getCacheRefreshingScheduledExecutor
Scheduler used to refresh file based caches from memory to disk.- Returns:
- ScheduledExecutorService
-
getMappingRefreshingExecutor
Executor used to run async mapping tasks- Returns:
- ExecutorService
-
destroy
public void destroy()- Specified by:
destroyin interfaceDisposable
-