Class SharedExecutorServices
java.lang.Object
org.jjazz.utilities.api.SharedExecutorServices
Application-level shared executor services.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorServiceFor CPU/IO tasks.static ScheduledExecutorServiceFor timers/debounce tasks.static ThreadFactorygetThreadFactory(String baseName, boolean daemon) Helper method to create a ThreadFactory which produce a named thread.
-
Constructor Details
-
SharedExecutorServices
public SharedExecutorServices()
-
-
Method Details
-
getExecutor
-
getScheduledExecutor
-
getThreadFactory
Helper method to create a ThreadFactory which produce a named thread.Thread is attached an exception handler which log the exception.
- Parameters:
baseName-daemon-- Returns:
-