Interface EventLoopVirtualThreadScheduler
- All Superinterfaces:
Executor
Scheduler for a virtual thread, with metadata. Does not change throughout a virtual thread's
lifetime. This class allows for creating local shared resources, e.g. HTTP connections that
run on the same event loop.
- Since:
- 4.9.0
- Author:
- Jonas Konrad
-
Method Details
-
attributeMap
Get a sharedAttributeMap
for this scheduler.- Returns:
- The attribute map
-
eventLoop
Get the event loop that runs on this scheduler.- Returns:
- The event loop
-