public abstract class SynchronousFileIOChannel extends AbstractFileIOChannel
FileIOChannel.Enumerator, FileIOChannel.IDfileChannel, id, LOG| Modifier | Constructor and Description |
|---|---|
protected |
SynchronousFileIOChannel(FileIOChannel.ID channelID,
boolean writeEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the channel.
|
boolean |
isClosed()
Checks whether the channel has been closed.
|
closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSizeprotected SynchronousFileIOChannel(FileIOChannel.ID channelID, boolean writeEnabled) throws IOException
IOExceptionpublic boolean isClosed()
FileIOChannelisClosed in interface FileIOChannelisClosed in class AbstractFileIOChannelpublic void close()
throws IOException
FileIOChannelclose in interface FileIOChannelclose in class AbstractFileIOChannelIOException - Thrown, if an error occurred while waiting for pending requests.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.