DomainSocket.DomainChannel (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.net.unix, class: DomainSocket, class: DomainChannel

Package org.apache.hadoop.net.unix

# Class DomainSocket.DomainChannel

java.lang.Object
org.apache.hadoop.net.unix.DomainSocket.DomainChannel

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`, `Channel`, `ReadableByteChannel`

Enclosing class:
  DomainSocket

@LimitedPrivate("HDFS") public class DomainSocket.DomainChannel extends Object implements ReadableByteChannel

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DomainChannel()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `boolean`
  `isOpen()`
  `int`
  `read(ByteBuffer dst)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DomainChannel

    public DomainChannel()

- ## Method Details

  - ### isOpen

    public boolean isOpen()
    Specified by:
      `isOpen` in interface `Channel`

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Channel`
    Specified by:
      `close` in interface `Closeable`
    Throws:
      `IOException`

  - ### read

    public int read(ByteBuffer dst) throws IOException
    Specified by:
      `read` in interface `ReadableByteChannel`
    Throws:
      `IOException`