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(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
ConstructorDescriptionImmutableMarshalledValueByteStream
(byte[] bytes) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.byte[]
getRaw()
Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.int
size()
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
-
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 classMarshalledValueByteStream
-
getRaw
public byte[] getRaw()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRaw
in classMarshalledValueByteStream
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
write
in classOutputStream
- Throws:
IOException
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-