Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.base.jmod - Base Module
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module.
JDK 17 Base module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.base.jmod.
JDK 17 Base module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Base module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/nio/channels/InterruptibleChannel.java
/* * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* */ package java.nio.channels; import java.io.IOException; /** * A channel that can be asynchronously closed and interrupted. * * <p> A channel that implements this interface is <i>asynchronously * closeable:</i> If a thread is blocked in an I/O operation on an * interruptible channel then another thread may invoke the channel's {@link * #close close} method. This will cause the blocked thread to receive an * {@link AsynchronousCloseException}. * * <p> A channel that implements this interface is also <i>interruptible:</i> * If a thread is blocked in an I/O operation on an interruptible channel then * another thread may invoke the blocked thread's {@link Thread#interrupt() * interrupt} method. This will cause the channel to be closed, the blocked * thread to receive a {@link ClosedByInterruptException}, and the blocked * thread's interrupt status to be set. * * <p> If a thread's interrupt status is already set and it invokes a blocking * I/O operation upon a channel then the channel will be closed and the thread * will immediately receive a {@link ClosedByInterruptException}; its interrupt * status will remain set. * * <p> A channel supports asynchronous closing and interruption if, and only * if, it implements this interface. This can be tested at runtime, if * necessary, via the {@code instanceof} operator. * * * @author Mark Reinhold * @author JSR-51 Expert Group * @since 1.4 */ public interface InterruptibleChannel extends Channel { /** * Closes this channel. * * <p> Any thread currently blocked in an I/O operation upon this channel * will receive an {@link AsynchronousCloseException}. * * <p> This method otherwise behaves exactly as specified by the {@link * Channel#close Channel} interface. </p> * * @throws IOException If an I/O error occurs */ public void close() throws IOException; }
⏎ java/nio/channels/InterruptibleChannel.java
Or download all of them as a single archive file:
File name: java.base-17.0.5-src.zip File size: 8883851 bytes Release date: 2022-09-13 Download
2023-09-26, 45738👍, 1💬
Popular Posts:
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...
JDK 7 tools.jar is the JAR file for JDK 7 tools. It contains Java classes to support different JDK t...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...