public interface StoredResource
Recover objects. This objects
represented by this interface are resources that have expiration
times (LeasedResource).Recover| Modifier and Type | Method and Description |
|---|---|
void |
restore(StorableResource obj)
Restore the state of a
StorableResource. |
void restore(StorableResource obj) throws IOException, ClassNotFoundException
StorableResource. The resource
to be restored will have its expiration set before this method
returns.
If this method returned a new StorableResource instead of mutating
the passed in StorableResource as a side effect, the implementation
could be thread safe and immutable.obj - resource to restoreIOExceptionClassNotFoundExceptionLogOps.renewOp(net.jini.id.Uuid, long)Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.