Package org.infinispan.io
Class ImmutableMarshalledValueByteStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.infinispan.io.MarshalledValueByteStream
-
- org.infinispan.io.ImmutableMarshalledValueByteStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
@Deprecated @ThreadSafe public final class ImmutableMarshalledValueByteStream extends MarshalledValueByteStream
Deprecated.since 10.0A 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 ImmutableMarshalledValueByteStream(byte[] bytes)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object thatObject)
Deprecated.byte[]
getRaw()
Deprecated.int
hashCode()
Deprecated.int
size()
Deprecated.void
write(int b)
Deprecated.
-
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
size
in classMarshalledValueByteStream
-
getRaw
public byte[] getRaw()
Deprecated.- Specified by:
getRaw
in classMarshalledValueByteStream
-
write
public void write(int b) throws java.io.IOException
Deprecated.- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object thatObject)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-