Class UnclosableObjectInputStream

java.lang.Object
org.infinispan.io.UnclosableObjectInputStream
All Implemented Interfaces:
DataInput, ObjectInput, AutoCloseable

@Deprecated(forRemoval=true) public class UnclosableObjectInputStream extends Object implements ObjectInput
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.0
A delegating ObjectInput that delegates all methods except ObjectInput.close().
Since:
4.0
Author:
Manik Surtani
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    read(byte[] b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    read(byte[] b, int off, int len)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final byte
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final char
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final double
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    readFully(byte[] b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    readFully(byte[] b, int off, int len)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final Object
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final short
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final long
    skip(long n)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    skipBytes(int n)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UnclosableObjectInputStream

      public UnclosableObjectInputStream(ObjectInput delegate)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • readObject

      public final Object readObject() throws ClassNotFoundException, IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readObject in interface ObjectInput
      Throws:
      ClassNotFoundException
      IOException
    • read

      public final int read() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      read in interface ObjectInput
      Throws:
      IOException
    • read

      public final int read(byte[] b) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      read in interface ObjectInput
      Throws:
      IOException
    • read

      public final int read(byte[] b, int off, int len) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      read in interface ObjectInput
      Throws:
      IOException
    • skip

      public final long skip(long n) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      skip in interface ObjectInput
      Throws:
      IOException
    • available

      public final int available() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      available in interface ObjectInput
      Throws:
      IOException
    • close

      public final void close() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface ObjectInput
      Throws:
      IOException
    • readFully

      public final void readFully(byte[] b) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readFully in interface DataInput
      Throws:
      IOException
    • readFully

      public final void readFully(byte[] b, int off, int len) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readFully in interface DataInput
      Throws:
      IOException
    • skipBytes

      public final int skipBytes(int n) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      skipBytes in interface DataInput
      Throws:
      IOException
    • readBoolean

      public final boolean readBoolean() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readBoolean in interface DataInput
      Throws:
      IOException
    • readByte

      public final byte readByte() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readByte in interface DataInput
      Throws:
      IOException
    • readUnsignedByte

      public final int readUnsignedByte() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readUnsignedByte in interface DataInput
      Throws:
      IOException
    • readShort

      public final short readShort() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readShort in interface DataInput
      Throws:
      IOException
    • readUnsignedShort

      public final int readUnsignedShort() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readUnsignedShort in interface DataInput
      Throws:
      IOException
    • readChar

      public final char readChar() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readChar in interface DataInput
      Throws:
      IOException
    • readInt

      public final int readInt() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readInt in interface DataInput
      Throws:
      IOException
    • readLong

      public final long readLong() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readLong in interface DataInput
      Throws:
      IOException
    • readFloat

      public final float readFloat() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readFloat in interface DataInput
      Throws:
      IOException
    • readDouble

      public final double readDouble() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readDouble in interface DataInput
      Throws:
      IOException
    • readLine

      public final String readLine() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readLine in interface DataInput
      Throws:
      IOException
    • readUTF

      public final String readUTF() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readUTF in interface DataInput
      Throws:
      IOException