T
- The type of the object to be restoredpublic interface StorableObject<T>
LogOps
Modifier and Type | Method and Description |
---|---|
T |
restore(ObjectInputStream in)
Restore the persistent fields and return new instance.
|
void |
store(ObjectOutputStream out)
Store the persistent fields
|
void store(ObjectOutputStream out) throws IOException
out
- IOException
T restore(ObjectInputStream in) throws IOException, ClassNotFoundException
in
- IOException
ClassNotFoundException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.