You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Fiber friendly
API | Methods | Notes |
---|
java.nio.channels.SocketChannel | read, write, close |
|
| socket adaptor: read, write, close |
|
java.nio.channels.ServerSocketChannel | accept, close |
|
| socket adaptor: accept, close |
|
java.nio.channels.DatagramChannel | read/receive, close |
|
java.nio.channels.Pipe.SourceChannel | read, close |
|
java.nio.channels.Pipe.SinkChannel | write, close |
|
|
|
|
java.net.Socket | read, write, close |
|
java.net.ServerSocket | accept, close |
|
Not currently Fiber friendly
API | Methods | Notes |
---|
java.nio.channels.DatagramChannel | socket adaptor: receive |
|
java.net.DatagramSocket | receive |
|
|
|
|
Thread.interrupt |
| If target Thread is the shadow Thread for a Fiber parked in an I/O operation then interrupt will pin the carrier thread until the channel is closed. |