Package org.infinispan.io
Class ImmutableMarshalledValueByteStream
java.lang.Object
java.io.OutputStream
org.infinispan.io.MarshalledValueByteStream
org.infinispan.io.ImmutableMarshalledValueByteStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
@Deprecated
@ThreadSafe
public final class ImmutableMarshalledValueByteStream
extends MarshalledValueByteStream
Deprecated.
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 -
Method Summary
-
Constructor Details
-
ImmutableMarshalledValueByteStream
public ImmutableMarshalledValueByteStream(byte[] bytes) Deprecated.
-
-
Method Details
-
size
public int size()Deprecated.- Specified by:
size
in classMarshalledValueByteStream
-
getRaw
public byte[] getRaw()Deprecated.- Specified by:
getRaw
in classMarshalledValueByteStream
-
write
Deprecated.- Throws:
IOException
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-