java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, java.nio.channels.ReadableByteChannel@LimitedPrivate("HDFS")
public class DomainSocket.DomainChannel
extends java.lang.Object
implements java.nio.channels.ReadableByteChannel
| Constructor | Description |
|---|---|
DomainChannel() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
isOpen() |
|
int |
read(java.nio.ByteBuffer dst) |
public boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channelclose in interface java.io.Closeablejava.io.IOExceptionpublic int read(java.nio.ByteBuffer dst)
throws java.io.IOException
read in interface java.nio.channels.ReadableByteChanneljava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.