Class ThreadFactoryManufacturer
- java.lang.Object
-
- net.officefloor.frame.impl.execute.execution.ThreadFactoryManufacturer
-
public class ThreadFactoryManufacturer extends java.lang.Object
ManufacturesThreadFactory
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ThreadFactoryManufacturer(ManagedExecutionFactory executionFactory, java.util.function.Consumer<java.lang.Thread> decorator)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ThreadFactory
manufactureThreadFactory(java.lang.String name, Executive executive)
Manufactures a newThreadFactory
.
-
-
-
Constructor Detail
-
ThreadFactoryManufacturer
public ThreadFactoryManufacturer(ManagedExecutionFactory executionFactory, java.util.function.Consumer<java.lang.Thread> decorator)
Instantiate.- Parameters:
executionFactory
-ManagedExecutionFactory
.decorator
- Decorator of the createdThread
instances. May benull
.
-
-