Package org.apache.camel.spi
Interface ExecutorServiceManager.ThreadFactoryListener
- Enclosing interface:
ExecutorServiceManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener when a new
ThreadFactory is created, which allows to plugin custom behaviour.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiononNewThreadFactory(ThreadFactory factory) Listener when Camel has created a newThreadFactoryto be used by thisExecutorServiceManager.
-
Field Details
-
FACTORY
Service factory key.- See Also:
-
-
Method Details
-
onNewThreadFactory
Listener when Camel has created a newThreadFactoryto be used by thisExecutorServiceManager.- Parameters:
factory- the created factory- Returns:
- the factory to use by this
ExecutorServiceManager.
-