|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Serializer
A strategy for writing objects to and reading objects from streams. Implementations must be safe for concurrent use by multiple threads.
If an implementation will be used for snapshots, it must be able to write and read the prevalent system it will be used with, but does not need to be able to write or read any other objects. If an implementation will be used for journals, it must be able to write and read any transactions it will be used with, but does not need to be able to write or read any other objects.
Method Summary | |
---|---|
Object |
readObject(InputStream stream)
Read an object from a stream. |
void |
writeObject(OutputStream stream,
Object object)
Write an object to a stream. |
Method Detail |
---|
void writeObject(OutputStream stream, Object object) throws Exception
Exception
Object readObject(InputStream stream) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |