T
- the type of object stored.public interface StoredObject<T extends StorableObject<T>>
Recover
objects.Recover
Modifier and Type | Method and Description |
---|---|
T |
restore(T object)
Restore the state of a
StorableObject object. |
T restore(T object) throws IOException, ClassNotFoundException
StorableObject
object.
There are two use cases for this method:object
- to restoreIOException
ClassNotFoundException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.