Class ImmutableMarshalledValueByteStream

java.lang.Object
java.io.OutputStream
org.infinispan.io.MarshalledValueByteStream
org.infinispan.io.ImmutableMarshalledValueByteStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

@Deprecated(forRemoval=true) @ThreadSafe public final class ImmutableMarshalledValueByteStream extends MarshalledValueByteStream
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.0
A byte stream that is immutable. Bytes are captured during construction and cannot be written to thereafter.
Since:
5.1
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
    boolean
    equals(Object thatObject)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    byte[]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    write(int b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.io.OutputStream

    close, flush, nullOutputStream, write, write

    Methods inherited from class java.lang.Object

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

    • ImmutableMarshalledValueByteStream

      public ImmutableMarshalledValueByteStream(byte[] bytes)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • size

      public int size()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      size in class MarshalledValueByteStream
    • getRaw

      public byte[] getRaw()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRaw in class MarshalledValueByteStream
    • write

      public void write(int b) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      write in class OutputStream
      Throws:
      IOException
    • equals

      public boolean equals(Object thatObject)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object