public interface ThreadService extends Service(Code)
This service provides a
Schedulable s to execute a
Runnable.run method within a pooled thread.
The "consumer" is typically the service requestor.
The "lane" is an option parameter that differentiates service
based on expected thread use, e.g. the
ThreadService.WILL_BLOCK_LANE is for runnables that may block on I/O or a "wait()". See
the thread service documentation for details. The default is
ThreadService.BEST_EFFORT_LANE .