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
ConstructorsConstructorDescriptionImmutableMarshalledValueByteStream(byte[] bytes) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, 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.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.intsize()Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(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:
sizein classMarshalledValueByteStream
-
getRaw
public byte[] getRaw()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRawin classMarshalledValueByteStream
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein 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.
-