@NoImplement
public interface MetadataCacheStorageSerializer
MetadataCacheStorage in case it's needed.
It's very important that serialized objects are not modified in any way in order to be able to deserialize them.
That means that, the same bytes that are written to the OutputStream when serializing,
should be read from the InputStream when deserializing.| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(InputStream serialized)
Deserializes the object
|
void |
serialize(OutputStream outputStream,
Object object)
Serializes the object and writes it to the outputStream
|
void serialize(OutputStream outputStream, Object object)
outputStream - where to write the serialized objectobject - the object to serialize<T> T deserialize(InputStream serialized)
serialized - the InputStream from where to read the object to deserializeT value with the object deserializedCopyright © 2020 MuleSoft, Inc.. All rights reserved.