• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Loom
  3. Main
  4. This page on blocking operations can be removed.

Page History

Versions Compared

Old Version 30

changes.mady.by.user Alan Bateman

Saved on Oct 31, 2020

compared with

New Version 31

changes.mady.by.user Alan Bateman

Saved on Oct 31, 2020

  • Previous Change: Difference between versions 29 and 30
  • Next Change: Difference between versions 31 and 32
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

APIMethod(s)Notes
java.lang.Threadsleep, joinjoin to wait for a virtual thread to terminate
java.util.concurrentAll blocking operations
java.net.Socketconnect, read, writeSocket constructors with a host name parameter may need to do a lookup with InetAddress, see below
java.net.ServerSocketaccept
java.net.DatagramSocket/MulticastSocketreceiveconnect, disconnect and send do not block
java.nio.channels.SocketChannelconnect, read, writesocket adaptor connect, read, and write also okay
java.nio.channels.ServerSocketChannelacceptsocket adaptor accept also okay
java.nio.channels.DatagramChannelread, receivesocket adaptor receive also okay

connect, disconnect, send, and write do not block 

java.nio.channels.Pipe.SourceChannelread
java.nio.channels.Pipe.SinkChannelwrite
Console streams (System.in, out, err)read, write, printfLinux/macOS only at this time.

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 236, "requestCorrelationId": "83da089c7c7e8271"}