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

Package org.apache.hadoop.net.unix

# Class DomainSocket.DomainInputStream

java.lang.Object
java.io.InputStream
org.apache.hadoop.net.unix.DomainSocket.DomainInputStream

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

Enclosing class:
  DomainSocket

@LimitedPrivate("HDFS") public class DomainSocket.DomainInputStream extends InputStream
Input stream for UNIX domain sockets.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DomainInputStream()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `available()`
  `void`
  `close()`
  `int`
  `read()`
  `int`
  `read(byte[] b, int off, int len)`

  ### Methods inherited from class java.io.InputStream

  `mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo`

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

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

- ## Constructor Details

  - ### DomainInputStream

    public DomainInputStream()

- ## Method Details

  - ### read

    public int read() throws IOException
    Specified by:
      `read` in class `InputStream`
    Throws:
      `IOException`

  - ### read

    public int read(byte[] b, int off, int len) throws IOException
    Overrides:
      `read` in class `InputStream`
    Throws:
      `IOException`

  - ### available

    public int available() throws IOException
    Overrides:
      `available` in class `InputStream`
    Throws:
      `IOException`

  - ### close

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