Package io.servicetalk.transport.api
Interface IoThreadFactory<T extends Thread & IoThreadFactory.IoThread>
- Type Parameters:
T
- Type of threads created
- All Superinterfaces:
ThreadFactory
- All Known Implementing Classes:
NettyIoThreadFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface IoThreadFactory<T extends Thread & IoThreadFactory.IoThread>
extends ThreadFactory
Thread factory for use with
IoExecutor
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Marker interface for IO Threads. -
Method Summary
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-