org.mule.util.journal
Interface JournalEntrySerializer<T,K extends JournalEntry<T>>
public interface JournalEntrySerializer<T,K extends JournalEntry<T>>
Allows to serialize / deserialize log entries from an OutputStream
deserialize
K deserialize(DataInputStream inputStream)
throws IOException
- Parameters:
inputStream - input stream with the serialized log entry.
- Returns:
- a JournalEntry instance from the ouput stream
- Throws:
IOException
serialize
void serialize(K journalEntry,
DataOutputStream dataOutputStream)
- Parameters:
journalEntry - journal entry to serializedataOutputStream - destination for the serialization
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.