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.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 booleanequals(Object thatObject)Deprecated.byte[]getRaw()Deprecated.inthashCode()Deprecated.intsize()Deprecated.voidwrite(int b)Deprecated.-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
-
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
sizein classMarshalledValueByteStream
-
getRaw
public byte[] getRaw()
Deprecated.- Specified by:
getRawin classMarshalledValueByteStream
-
write
public void write(int b) throws IOExceptionDeprecated.- Specified by:
writein classOutputStream- Throws:
IOException
-
-