Package io.servicetalk.concurrent
Interface NonBlockingThread
- All Known Subinterfaces:
IoThreadFactory.IoThread
public interface NonBlockingThread
Marker interface for
Threads that must never be blocked (blocking operations not permitted),
like I/O threads.
Blocking operations known to ServiceTalk may throw NonBlockingThread.IllegalBlockingOperationException if they are invoked on a
Thread that implements this interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThis exception is thrown when a blocking operation is performed on aNonBlockingThread.