java.nio.channels.spi
Class AbstractInterruptibleChannel
java.lang.Object
|
+--java.nio.channels.spi.AbstractInterruptibleChannel
All Implemented Interfaces:
Channel, InterruptibleChannel
Since:Author:AbstractInterruptibleChannel
protected AbstractInterruptibleChannel() Initializes the channel.
begin
protected final void begin() Marks the beginning of an I/O operation that might block indefinitely.
close
public final void close() Closes the channel.
Throws:
end
protected final void end(boolean completed) Marks the end of an I/O operation that might block indefinitely.
Parameters:
Throws:
AsynchronousCloseException - If the channel was asynchronously
closed. - If the thread blocked in the
I/O operation was interrupted.
implCloseChannel
protected void implCloseChannel() Closes the channel.
Throws:
isOpen
public final boolean isOpen() Tells whether or not this channel is open.